我需要编写一个选择查询来查找具有空全文字段的行数,但由于某种原因两者:
select count(id) from table where field is null;
和
select count(id) from table where field = "";
似乎不起作用!
还有什么?!
最佳答案
如果这不起作用......你可以尝试
其中 len( 修剪( 字段 )) = 0
关于php - mysql条件选择空全文单元格?,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/2697923/