Oracle
 sql >> Base de Dados >  >> RDS >> Oracle

Oracle DELETE sql com JOIN não funciona


tente isso
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
  )