SELECT *
FROM TABLE1 t
WHERE EXISTS
( SELECT *
FROM TABLE2 tt
WHERE (COL1, COL2, COL3, COL4)
= (t.COL1, t.COL2, t.COL3, t.COL4)
)
;
SELECT *
FROM TABLE1 t
WHERE EXISTS
( SELECT *
FROM TABLE2 tt
WHERE (COL1, COL2, COL3, COL4)
= (t.COL1, t.COL2, t.COL3, t.COL4)
)
;