oracle多表关联删除的两种方法
第一种使用exists方法
- delete
- from tableA
- where exits
- (
- select 1
- from tableB
- Where tableA.id = tableB.id
- )
第二种使用匿名表方式进行删除
- delete
- from
- (
- select 1
- from tableA,TableB
- where tableA.id = tableB.id
- )
oracle多表关联删除的两种方法
第一种使用exists方法
转载于:https://www.cnblogs.com/likeju/p/5009109.html