Kubernetes Views by Month-Year


Please login or register to vote for this query.

(click on this box to dismiss)

A break down of view trends per MM/YY

Stack Overflow

Q&A for professional and enthusiast programmers

-- Total views per MM/YY
-- A break down of view trends per MM/YY

SELECT Year(CreationDate), Month(CreationDate),  count(*), sum(ViewCount)
   FROM Posts p
   join PostTags pt on pt.PostId = p.Id
   join Tags t on t.Id = pt.TagId 
   WHERE PostTypeId = 1
   GROUP BY Year(CreationDate), Month(CreationDate)
   ORDER BY Year(CreationDate) ASC, Month(CreationDate) ASC

Enter Parameters

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