sql 查询重复数据

select user_name,count(*) as count from comm_user group by user_name having count>1;

  

原文地址:https://www.cnblogs.com/deepalley/p/10956952.html