MAERSK interview question

2) Some basic SQL queries