Pregunta de entrevista de Cornerstone OnDemand

query and relations between 2 tables