2016年11月20日
摘要: 分组后,统计记录条数: SELECT num,count(*) AS counts from test_a GROUP BY num; 查询结果如下: 对num去重后的数量的统计: SELECT count(t.counts) FROM ( SELECT num,count(*) AS counts 阅读全文
posted @ 2016-11-20 00:29 啥也不会的程序猿 阅读(46140) 评论(0) 推荐(0) 编辑