Pergunta de entrevista da empresa AllianceBernstein

How to collected data from joined SQL tables?