Pergunta de entrevista da empresa INDmoney

Average SQL question on Joins groupby