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)

Android Enthusiasts

Q&A for enthusiasts and power users of the Android operating system

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-04-01'
AND Posts.CreationDate < '2019-05-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 sites:
loading Hold tight while we fetch your results