Accenture interview question

Something about the SQL database.