SQL 删除重复数据

delete from table where id not in (
select max(id) from table group by 字段
)

原文地址:https://www.cnblogs.com/ccsbb/p/3014970.html