SQL

1. 分类汇总

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

desc是用来表示按降序

 



来自为知笔记(Wiz)



你可能感兴趣的:(SQL)