Pregunta de entrevista de Crazy Labs

Basic OOP questions, SQL query, one coding exercise