mysql中查詢字段爲null或者不爲nullmysql
在mysql中,查詢某字段爲空時,切記不可用 = null或 !=nullsql
如如下語句是錯的,不會查出該字段爲空的記錄spa
select * from table where column != null;orm
正確應該爲it
select * from table where column is not null;table