Deloitte interview question

SQL queries , coding and puzzle questions.