Pregunta de entrevista de Bayt.com

Sql queries, every question possible with OOP