如何检查数字列中是否有空值
我想要这样的东西:
select * from table where column_numeric = ''
Run Code Online (Sandbox Code Playgroud)
这显然不起作用,但是对于数字列来说,什么可以等效呢?
小智 5
没有值的数字列是null
:
select *
from the_table
where column_numeric is null;
Run Code Online (Sandbox Code Playgroud)
对于数字来说,没有等效的“空字符串”概念。
归档时间: |
|
查看次数: |
14835 次 |
最近记录: |