如何在MySql查询中忽略NULL

时间:2014-04-30 18:54:54

标签: mysql

我在MySql中有以下查询。

select source, count(*) as count from cs

如何忽略NULL结果?

感谢。

1 个答案:

答案 0 :(得分:0)

select source, count(*) as count from cs where source is not null