oracle association table delete record

Delete data associated with two tables

delete
from tableA
where exists
(
     select 1
     from tableB
     Where tableA.id = tableB.id
)

 

Guess you like

Origin blog.csdn.net/liangmengbk/article/details/110391428