摘要:
EXISTS里的子查询结果集非空,EXISTS()子句的值就是true。 EXISTS里的子查询结果集为空,EXISTS()子句的值就是false。 NOT EXISTS里的子查询结果为非空,NOT EXISTS()字句的值是false NOT EXISTS里的子查询结果为为空,NOT EXISTS 阅读全文
摘要:
例子 select X from table where 1=2 and 1=2 or 1=1; return true; select X from table where 1=2 and (1=2 or 1=1); return false 原文:http://www.cnblogs.com/n 阅读全文