查询mysql数据库表中字段为null的记录:
select * from 表名 where 字段名 is null
示例:
select * from student where address is null
查询mysql数据库表中字段不为null的记录:
select * from 表名 where 字段名 is not null
示例:
select * from student where address is not null
(adsbygoogle = window.adsbygoogle || []).push({});
来源:https://www.02405.com/archives/1105