Pergunta de entrevista da empresa EXL Service

One SQL question based on joins