Kubernetes Views by Month-Year

0

Please login or register to vote for this query.

(click on this box to dismiss)

A break down of view trends per MM/YY

Raspberry Pi Meta

Q&A about the site for users and developers of hardware and software for Raspberry Pi

-- 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
   AND
   (t.TagName LIKE 'amazon-%' OR t.TagName LIKE 'aws%')
   --AND Tags like '%kubernetes|%'
   GROUP BY Year(CreationDate), Month(CreationDate)
   ORDER BY Year(CreationDate) ASC, Month(CreationDate) ASC

Enter Parameters

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