Pregunta de entrevista de Sage

lots OOP questions, write an SQL query, a debugging, and an algorithms quesion