Accenture Interview Question

OOP theoretical knowledge, SQL queries