Accenture interview question

SQL Test