Q&A about the site for gardeners and landscapers
select cast(Count(distinct Votes.Id) as float) / Count(distinct Posts.Id) as votes_per_post from Votes inner join Posts on Posts.Id = Votes.PostId where Votes.VoteTypeId = 2 or Votes.VoteTypeId = 3 group by DatePart(mm, Posts.CreationDate), DatePart(yy, Posts.CreationDate) order by DatePart(yy, Posts.CreationDate), DatePart(mm, Posts.CreationDate)