Ver originalDELETE FROM CLIENTEWHERE NOT EXISTS( SELECT * FROM OBRA O INNER JOIN ORDEN R ON O.IDOBRA = R.IDOBRA WHERE CLIENTE.RUT = O.RUT)