Ver originalSET @rank = 0;SELECT @rank := @rank +1 AS ranking, name, edad, kilometros FROM alumno ORDER BY edad, kilometros DESC