MYSQL查询重复记录的方法
select * from people where peopleId in (select peopleId from people group by peopleId having count(peopleId) > 1)
自信与努力 用心坚持
select * from people where peopleId in (select peopleId from people group by peopleId having count(peopleId) > 1)