selecttop5*fromt1wherecolumnisnotnull不知道是不是你要的。
- 情感问答
- 答案列表
sql查询不为空:sql中不为空值怎么查询[朗读]
查空:select*from表where列名isnull非空:select*from表where列名isnotnull。
select*from表名where查询的字段名isnotnull有问题就追问。
sql查询结果是原表中不为空的值和空值数据:selectcount(*)fromyourtablewhereyourcolumnnameisnull非空值数据:selectcount(*)fromyourtablewhereyourcolumnnameisnotnullsqlserveroracleaccess都通用的。
select*from表名where某字段isnotnull;查询某字段不为空.select*from表名where某字段isnull;查询某字段为空。