DELETE FROM tmet_mod_vrir WHERE metmodstrd_id IN (
  SELECT ID FROM tmet_mod_setrd WHERE metmodstr_id IN (
    SELECT ID FROM tmet_mod_setr WHERE metmodset_id IN (
      SELECT ID FROM tmet_mod_set WHERE metmod_id IN (
         18, 33, 35, 46, 50, 53, 64, 77, 139, 162, 275, 277, 303, 337, 338, 339, 344, 348, 392, 1059, 1096, 1179, 1196, 1198, 1202, 1204, 1215, 1252, 1256, 1264, 1266))))
/

DELETE FROM tmet_mod_setrd WHERE metmodstr_id IN (
  SELECT ID FROM tmet_mod_setr WHERE metmodset_id IN (
    SELECT ID FROM tmet_mod_set WHERE metmod_id IN (
      18, 33, 35, 46, 50, 53, 64, 77, 139, 162, 275, 277, 303, 337, 338, 339, 344, 348, 392, 1059, 1096, 1179, 1196, 1198, 1202, 1204, 1215, 1252, 1256, 1264, 1266)))
/

DELETE FROM tmet_mod_setr WHERE metmodset_id IN (
  SELECT ID FROM tmet_mod_set WHERE metmod_id IN (
    18, 33, 35, 46, 50, 53, 64, 77, 139, 162, 275, 277, 303, 337, 338, 339, 344, 348, 392, 1059, 1096, 1179, 1196, 1198, 1202, 1204, 1215, 1252, 1256, 1264, 1266))
/

DELETE FROM tmet_mod_vri WHERE metmodset_id IN (
  SELECT ID FROM tmet_mod_set WHERE metmod_id IN (
    18, 33, 35, 46, 50, 53, 64, 77, 139, 162, 275, 277, 303, 337, 338, 339, 344, 348, 392, 1059, 1096, 1179, 1196, 1198, 1202, 1204, 1215, 1252, 1256, 1264, 1266))
/

DELETE FROM tmet_mod_set WHERE metmod_id IN (
   18, 33, 35, 46, 50, 53, 64, 77, 139, 162, 275, 277, 303, 337, 338, 339, 344, 348, 392, 1059, 1096, 1179, 1196, 1198, 1202, 1204, 1215, 1252, 1256, 1264, 1266)
/

COMMIT;



