首页 > 技术文章 > sql查询 !='' 和 is not null的区别
yubufan 2015-05-27 19:44 原文
select * from table where a is not null 会把有内容的和内容为空的都查出来而select * from table where a != '' 只会把有内容的查出来