常用Mysql查询语句

1、查询数据表中重复记录

 

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

 

 

 

posted @ 2017-06-29 17:43  郁冬  阅读(164)  评论(0编辑  收藏  举报