Count of questions with Firebase tag over time

0

Please login or register to vote for this query.

(click on this box to dismiss)

Philosophy Meta

Q&A about the site for those interested in the study of the fundamental nature of knowledge, reality, and existence

SELECT 
  DATEADD(##AI##, DATEDIFF(##AI##, 0, CreationDate), 0) AS [##AI##]
  , COUNT(DISTINCT Posts.Id) AS Count
FROM Posts
INNER JOIN PostTags ON PostTags.PostId = Posts.Id
INNER JOIN Tags ON PostTags.TagId = Tags.Id
WHERE (Tags.TagName like 'firebase%' 
    OR Tags.TagName = 'google-cloud-firestore' OR Tags.TagName = 'google-cloud-functions'
  ) AND PostTypeId = 1 AND CreationDate > '2012-01-01'
GROUP BY DATEADD(##AI##, DATEDIFF(##AI##, 0, CreationDate), 0)
ORDER BY [##AI##] DESC

-- AI: Aggregation Interval (MONTH, YEAR, WEEK)

Enter Parameters

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