Pregunta de entrevista de BluePi

Question to write a query using join