mysql sélectionnez la dernière ligne pour chaque groupe
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);