Pergunta de entrevista da empresa Meta

group by in SQL with window functions