Pergunta de entrevista da empresa ZS Associates

The question in Sql was about window functions