摘要: 做统计的时候,null是不计算在count以内的。所以字段的值最好不要设置为null。 比如:select count(user_id) as beyond_num from fs_users_added where credits<410 && user_id!=75语句,就统计不到null的数据 阅读全文
posted @ 2017-01-09 12:07 王滔 阅读(5816) 评论(1) 推荐(1) 编辑