Bayt.com interview question

Sql queries, every question possible with OOP