select * from people where peopleId in (select peopleId from people group by peopleId having count(peopleId) > 1)