`
莫生气
  • 浏览: 861645 次
  • 性别: Icon_minigender_1
  • 来自: 上海
社区版块
存档分类
最新评论

not exists 和not in等价

 
阅读更多
select * from A where not exists ( select * from B where A.id = B.id )和

select * from A where A.id not in ( select * from B)
分享到:
评论

相关推荐

Global site tag (gtag.js) - Google Analytics