Oracle 验证A表的2个字段组合不在B表2个字段组合里的数据

来源:互联网 发布:淘宝新开店铺骗局 编辑:程序博客网 时间:2024/05/17 18:26
select id, name
  fromTAB_A t
 wherenot exists (select1
          fromTAB_B t1
         wheret.id = t1.id
           andt.name = t1.name)
0 0