Pregunta de entrevista de AllianceBernstein

How to collected data from joined SQL tables?