当前位置:Gxlcms > 数据库问题 > mysql 中查询一个字段是否为null的sql

mysql 中查询一个字段是否为null的sql

时间:2021-07-01 10:21:17 帮助过:21人阅读

* 表名 where 字段名 is null 查询mysql数据库表中字段不为null的记录: select * 表名 where 字段名 is not null

 

 

例如:

select * from table where column is null;
 
select * from table where column is not null;

 

mysql 中查询一个字段是否为null的sql

标签:table   color   rom   logs   span   数据   select   tab   sql数据库   

人气教程排行