SELECT 字段名,cnFROM (SELECT 字段名,count(*) as cn,row_number() over(order by count(*) desc) as rnfrom 表名 tgroup by t.字段名 having count(*)>1)where rn < 11;