I have the same table in two oracle databases. One is a staging database that has it\'s record loaded into the primary. I want to go through the staging table and see if there a
Something like this should work
delete from stagingtable where id in (select id from stagingtable st join productiontable pt on st.id = pt.id and st.nextfield = pt.nextfield etc )