SQL查询某一字段重复的数据

SQL查询某一字段重复的数据:

select user_id from user_info group by user_id having count(user_id)>1;
原文地址:https://www.cnblogs.com/wangfeihu/p/11356760.html