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

Las 3 mejores puntuaciones - MySQL

SELECT name, score
FROM SCORES
JOIN (SELECT distinct score score3
      FROM scores
      ORDER BY score DESC
      LIMIT 2, 1) x
ON score >= score3
ORDER by score DESC

VIOLÍN