DELETE FROM huizong_haodaifu WHERE id IN ( SELECT id FROM ( SELECT id,COUNT(*) FROM huizong_haodaifu GROUP BY id HAVING COUNT(*) > 1 ) AS a )