Morgan Stanley Interview Question

Excel and SQL problems based on their task template (average difficulty)