ZS Associates Interview Question

Window function, subquery, SQL , Excel