猴dai王也有悲伤时
人生若只如初见 何事秋风悲画扇

 

判断字段是否为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<>''

 

posted on 2019-01-17 16:23  猴dai王也有悲伤时  阅读(7503)  评论(0编辑  收藏  举报