关于sql 语句的记录 一、 select 1 where 1 not in (2,3,null) 执行结果为空。 解释:not in 当结果集中 有null的时候 直接返回 false。 二、 使用函数时,不会应用索引。