Sélectionnez d'autres colonnes avec distinct
SELECT * FROM table
WHERE id IN (
SELECT MAX(id) FROM table GROUP BY name
)
Outstanding Orangutan
SELECT * FROM table
WHERE id IN (
SELECT MAX(id) FROM table GROUP BY name
)