SELECT format(Posts.CreationDate, 'yyyy-MM-01') as month,...

0

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 format(Posts.CreationDate, 'yyyy-MM-01') as month,
Tags.TagName as tag, COUNT(*) AS count FROM Tags
LEFT JOIN PostTags ON PostTags.TagId = Tags.Id
LEFT JOIN Posts ON Posts.Id = PostTags.PostId
LEFT JOIN PostTypes ON PostTypes.Id = Posts.PostTypeId
WHERE PostTypes.Name = 'Question' AND Posts.CreationDate >= '2019-02-01'
AND Posts.CreationDate < '2019-03-01'
GROUP BY format(Posts.CreationDate, 'yyyy-MM-01'),
Tags.TagName ORDER BY format(Posts.CreationDate, 'yyyy-MM-01'),
count DESC

Enter Parameters

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