Chcete-li zkontrolovat, co se chystáte smazat:
SELECT distinct t1.*
FROM yourtable as t1
join yourtable as t2
WHERE t1.address = t2.address
and t1.id < t2.id
Pokud jste s tím spokojeni:
DELETE t1
FROM yourtable as t1
join yourtable as t2
WHERE t1.address = t2.address
and t1.id < t2.id
Tímto způsobem uchováte záznam s maximální hodnotou ve sloupci id