mysql 数据表中查找重复记录

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

 

posted @ 2015-10-20 15:21  闲云-野鹤  阅读(120)  评论(0编辑  收藏  举报