Macquarie Group interview question

All related to SQL queries and features