摘要:
一般来说,这两个是用来做两张(或更多)表联合查询用的,in是把外表和内表作hash 连接,而exists 是对外表作loop 循环,假设有A、B两个表,使用时是这样的: 1、select * from A where id in (select id from B)--使用in 2、select * 阅读全文
posted @ 2016-12-04 10:17
老贺的一亩三分地
阅读(23836)
评论(2)
推荐(2)
浙公网安备 33010602011771号