DELETE FROM warpSkyfile
USING warpSkyfile, warpRun, camRun, chipRun, rawExp
WHERE
    warpSkyfile.warp_id = warpRun.warp_id
    AND warpRun.cam_id = camRun.cam_id
    AND camRun.chip_id = chipRun.chip_id
    AND chipRun.exp_id = rawExp.exp_id
    AND warpSkyfile.fault != 0
