sql >> Base de Datos >  >> RDS >> Mysql

Seleccione obtener la fila completa correspondiente al máximo en MySQL Group

Me pregunto si esto funcionaría:

select * from table where id in (select distinct max(id) from table group by name)