Pergunta de entrevista da empresa Data Edge

database relation, cartesian join, and swap without extra variables.