SELECT COUNT(字段)AS COUNT,字段FROM 表名 GROUP BY 字段 HAVING COUNT >=2 转载于:https://www.cnblogs.com/yanchaohui/p/10530721.html