Pergunta de entrevista da empresa WhiteHat Jr

based on the same table, get month wise sum of amount