Pregunta de entrevista de Shepper

A technical SQL question based on their database