Seleccione la fila con la última fecha mysql

SELECT id, MAX(user) as user, MAX(time) as time, MAX(io) as io FROM lms_attendance GROUP BY id;
Nasty Nightingale