Newton School Interview Question

SQL question - (Joins & Window Function) Problem Solving