码迷,mamicode.com
首页 > 数据库 > 详细

SQL

时间:2015-11-16 21:02:40      阅读:178      评论:0      收藏:0      [点我收藏+]

标签:

1. 分类汇总

select cluster,count(cluster) from 0401_07 group by cluster order by count(cluster) desc

desc是用来表示按降序

 





SQL

标签:

原文地址:http://www.cnblogs.com/michael-xiang/p/4969968.html

(0)
(0)
   
举报
评论 一句话评论(0
登录后才能评论!
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!