sql根据某个字段查重 2019-12-23 本文已影响0人 阔阔飞翔 查询重复记录id select user_id from user_info group by user_id having count(user_id) > 1;