select * from table where a is not null 会把有内容的和内容为空的都查出来
而select * from table where a != '' 只会把有内容的查出来
转载于:https://www.cnblogs.com/yubufan/p/4534256.html
select * from table where a is not null 会把有内容的和内容为空的都查出来
而select * from table where a != '' 只会把有内容的查出来
转载于:https://www.cnblogs.com/yubufan/p/4534256.html