delete from TABLE_name t1 where t1.rowid > (select min(rowid) from TABLE_name t2 where t1.name = t2.name group by name having count(name) > 1) --还可以新建一张中间表,将distinct记录选出来 select distinct * into temptable from TABLE_name delete from TABLE_name insert into TABLE_name select * from temptable