- 情感问答
- 答案列表
查询空字段:sql查询字段为空[朗读]
select*fromsheet1wheref3222andf3==null或者select*fromsheet1wheref3222andf3isnull你试一下。
首先选择一张表其次明确要查询的字段select字段名称from表名where字段名称isnull
select*from数据表名whereisnull(日期字段)以上sql查询语句适用于access数据库。
正确语句应为select*fromdatawhere学号isnull
执行下面的sql语句就可以查询:select*from数据库表名where某一个字段isnull