DELETE FROM tbl_1 WHERE id NOT IN( SELECT id FROM ( SELECT min(id) AS id FROM
tbl_1
GROUP BY `duplicate_id` ) a )