My delete statement returns a 933 error in Oracle, I\'m not sure what is wrong-
DELETE b from temp a JOIN fact_tab b on a.col1 = b.col1 and a.col2 = b.col2 and
try this
DELETE FROM fact_tab WHERE EXISTS ( SELECT 1 FROM temp WHERE temp.col1 = fact_tab.col1 AND temp.col2 = fact_tab.col2 AND temp.col2 = fact_tab.col2 )