怎的在数据库中查找一个为空的数值
怎样在数据库中查找一个为空的数值?
比如,查找a表中money为2000的所有数据用:select * from a where a.money = 2000;
现在我想在a中查出所有money不为空的值,怎么查呢?
------解决方案--------------------
select * from a where a.money is not null
比如,查找a表中money为2000的所有数据用:select * from a where a.money = 2000;
现在我想在a中查出所有money不为空的值,怎么查呢?
------解决方案--------------------
select * from a where a.money is not null