Just dont use JOIN, use WHERE, like this: delete from catalog.schema.table where exists ( select 1 from tableWithRowsToDelete as D join catalog.schema.table as O ON O.col1 = D.col1 AND O.col2 = D.col2 )