sql语句中in与exists的使用区别 select ... from table where exists (subquery) 含义: 将主查询的数据放到子查询中做验证,根据验证结果(true or false) 来决定主查询结果集.