Infosys interview question

how would you use SQL to join two data sets