mysql 数据表中查找重复记录
select [user_name],count(*) as count from [user_table] group by [user_name] having count>1;
user_name 要查重复记录的字段
user_table 要查的数据表
select [user_name],count(*) as count from [user_table] group by [user_name] having count>1;
user_name 要查重复记录的字段
user_table 要查的数据表