Morgan Stanley Interview Question

Sql hands on experience. Aggregate functions. Different cases.