Pergunta de entrevista da empresa EXL Service

SQL question - Join, aggregate functions