MySQL 2017-06-30 本文已影响0人 海丹树 查询重复的记录: select user_name,count(*) as count from user_table group by user_name having count>1;