in和exists区别

in 是先提取子查询  再匹配  所有  适合子表数据少的

exists 是先提取父查询 后匹配子表   所以适合父表少的

原文地址:https://www.cnblogs.com/liagon/p/14557225.html