Advarisk interview question

2. Simple SQL queries (SELECT, GROUP operations).