select * from 表名字 where 字段名 is not null
select * from 表名字 where 字段名 <> ''
select * from 表名字 where 字段名 != ''
select * from 表名字 where 字段名 != ""
Mysql查询不为空的,不为null的
于 2021-09-26 09:43:03 首次发布
select * from 表名字 where 字段名 is not null
select * from 表名字 where 字段名 <> ''
select * from 表名字 where 字段名 != ''
select * from 表名字 where 字段名 != ""