MySQL Selecione a última linha para cada grupo
SELECT *
FROM CUSTOMERS
WHERE id IN (SELECT MAX(id) FROM CUSTOMERS GROUP BY PERSON_NAME);
Mysterious Macaque
SELECT *
FROM CUSTOMERS
WHERE id IN (SELECT MAX(id) FROM CUSTOMERS GROUP BY PERSON_NAME);