日期:2014-05-16  浏览次数:20654 次

获取非数字的值
我一个列是tinyint 发现有些是null.我想怎么获取不是数值的行。比如

col(列名,tinyint)
null
1
2
3
null

select * from table where col=null???
这样貌似获取不到...

------解决方案--------------------
select * from table where col is null
------解决方案--------------------
select * from table where col is null
------解决方案--------------------
is null