delete from people where rowid in (select min(rowid) from people group by peopleId having count(peopleId )>1)