判断字段是否为null
select * from table where c is null
select * from table where c is not null
判断字段是否为空
select * from table where c=''
select * from talbe where c<>''
判断字段是否为null
select * from table where c is null
select * from table where c is not null
判断字段是否为空
select * from table where c=''
select * from talbe where c<>''
转载于:https://www.cnblogs.com/wang-min/p/10282929.html