摘要: select * from AAA where id in (select id from BBB)等价于:select * from AAA where exists(select * from BBB where BBB.id=AAA.id) 执行顺序不同,in 先执行内层查询,exists先查 阅读全文
posted @ 2022-08-01 16:26 ジ绯色月下ぎ 阅读(19) 评论(0) 推荐(0) 编辑