count函数详细介绍
摘要:
select count(字段) from 表名; #得到字段中is not null的行数 select count(*)from 表名; #任何列,只要有一个非null就会被统计上。全为null(不会出现该情况)则不被统计。用于统计表的行数 select count(1) from 表名; #统 阅读全文
posted @ 2019-03-06 02:35 Holy_Shit 阅读(1778) 评论(0) 推荐(0)
浙公网安备 33010602011771号