以下sql语句可以实现查找出一个表中的所有重复的记录
select user_name,count(*) as count from user_table group by user_name having count>1;
以下sql语句可以实现查找出一个表中的所有重复的记录
select user_name,count(*) as count from user_table group by user_name having count>1;
转载于:https://www.cnblogs.com/boystar/p/6882351.html