SQL查询某一字段重复的数据 长时间不碰代码,sql都不会写了 SQL查询某一字段重复的数据: select user_id from user_info group by user_id having count(user_id)>1;