sql
DELETE FROM admin
WHERE id in(SELECT max(id) AS min_id FROM adminwhere ext like '32%' GROUP BY num having count(*)>1)
DELETE FROM admin
WHERE id in(SELECT max(id) AS min_id FROM adminwhere ext like '32%' GROUP BY num having count(*)>1)