EXL Service interview question

sql joins