Pregunta de entrevista de Servian

Advanced sql query like partition and rank