删除表中多余的重复记录(多个字段),只留有rowid最小的记录 delete from vitae where rowid in (select min(rowid) from vitae group by peopleId,seq having count(*)>1)