Pregunta de entrevista de Fast Enterprises

Find errors with an algorithm. Writing SQL queries.