Seleccione otras columnas con distinta
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
)