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;查詢某欄位為空。