DELETE FROM the_table
WHERE id IN (the select to return duplicated records' ids)
The select should be similar to this one
SELECT
id
FROM
the_table T JOIN
(
SELECT MIN(id) AS id FROM the_table
GROUP BY all your fields here
) sub ON T.id= SUB.id