Count of questions with Firebase tag over time

0

Please login or register to vote for this query.

(click on this box to dismiss)

Moderators

Q&A for community managers, administrators, and moderators

SELECT Posts.Id, Posts.Title
--  DATEADD(WEEK, DATEDIFF(WEEK, 0, CreationDate), 0) AS [Week]
--  , COUNT(*) 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%' AND PostTypeId = 1 AND CreationDate > '2015-01-01'
--GROUP BY DATEADD(WEEK, DATEDIFF(WEEK, 0, CreationDate), 0)
--ORDER BY [Week] DESC

/*
SELECT 
  DATEADD(WEEK, DATEDIFF(WEEK, 0, CreationDate), 0) AS [Week]
  , COUNT(*) AS Count
FROM Posts
INNER JOIN PostTags ON PostTags.PostId = Posts.Id
INNER JOIN Tags ON PostTags.TagId = Tags.Id
WHERE Tags.TagName = 'firebase' AND PostTypeId = 1 AND CreationDate > '2015-01-01'
GROUP BY DATEADD(WEEK, DATEDIFF(WEEK, 0, CreationDate), 0)
ORDER BY [Week] DESC
*/

Enter Parameters

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