Oracle
 sql >> Database >  >> RDS >> Oracle

Oracle DELETE sql con JOIN non funziona

prova questo

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
  )