Pinga Solutions interview question

General Question of SQL