使用count注意事项 2017-06-02 本文已影响27人 喂小男孩 在使用count函数需要注意的地方: 1.count(1)与count(*)得到的结果一致,包含null值。 2.count(字段)不计算null值 3.count(null)结果恒为0