Average number of views by month of CreationDate


Please login or register to vote for this query.

(click on this box to dismiss)

Poker Meta

Q&A about the site for serious players and enthusiasts of poker

SELECT eomonth(p.CreationDate) [month],
  AVG(CAST(p.ViewCount AS decimal))
FROM Posts p
WHERE p.PostTypeId=1
---only questions: p.PostTypeId=1
AND p.CreationDate >= '##Date1?2015-01-01##' AND p.CreationDate <= '##Date2?2021-01-01##'
GROUP BY eomonth(p.CreationDate)
ORDER BY eomonth(p.CreationDate)

Enter Parameters

Switch to main site
loading Hold tight while we fetch your results