mysql Wybierz ostatni wiersz dla każdej grupy

SELECT * 
FROM CUSTOMERS
WHERE id IN (SELECT  MAX(id) FROM CUSTOMERS GROUP BY PERSON_NAME);
Mysterious Macaque