删除重复记录
Delete from tablename where id not in (select max(id) from tablename group by col1,col2,...)
Delete from tablename where id not in (select max(id) from tablename group by col1,col2,...)