Q&A for professionals and students of engineering
select sum(score) as score, count(3) as linhas, substring(convert(varchar,creationDate,121), 0, 8) as ano_mes from posts where owneruserid = 1 group by substring(convert(varchar,creationDate,121), 0, 8)