sql数据分组,过滤分组,group,having,排序 Select Name,COUNT(*) as theNameFROM TABLEGROUP BY NameHAVING COUNT(*) >=2ORDER BY theName;