delete from table1 where id in ( select table1.id from table1,(select min(id) as minid,fielda,fieldb,fieldc from table1 group by fielda, fieldb,fieldc) as table2 where table1.fielda = table2.fielda AND table1.fieldb = table2.fieldb AND table1.fieldc = table2.fieldc AND table1.id <> table2.minid ) 这个语句,拿去自己改一下,前提,数据表里有id字段