Pregunta de entrevista de Levi Strauss

SQL assessment with window functions and aggregates