mysql中查询字段为null或者不为null_MySQL
时间:2021-07-01 10:21:17
帮助过:3人阅读
bitsCN.com
mysql中查询字段为null或者不为null 在mysql中,查询某字段为空时,切记不可用 = null,而是 is null,不为空则是 is not null select * from table where column is null; select * from table where column is not null;
bitsCN.com