select * from 表名 where rowid not in (select min(rowid) from 表名 group by 重复判断字段)
delete from 表名 where rowid not in (select min(rowid) from 表名 group by 重复判断字段)