Pregunta de entrevista de Jobcase

How would you join these two tables? (In SQL)