Pregunta de entrevista de Cornerstone OnDemand

query and relation between two tables