Domanda di colloquio di Grant Street Group

SQL question which involved using window functions