I want to find out the tag usage over time, across all tags.
As my first step I wrote the following query to give me the tag usage for "sql" over time.
SELECT --TOP 20
convert(varchar, CreationDate, 101),
COUNT(*) AS questions
FROM Tags
INNER JOIN PostTags ON PostTags.TagId = Tags.id
INNER JOIN Posts ON Posts.ParentId = PostTags.PostId
WHERE
Tags.tagname = 'sql'
GROUP BY convert(varchar, CreationDate, 101)
ORDER BY convert(varchar, CreationDate, 101) ASC
Questions:
- Is this the most efficient way to get the usage per day?
- Do you know where I can find the syntax for the Meta queries? https://data.stackexchange.com/stackoverflow/query/new?
meta.
to the site name: data.stackexchange.com/meta.stackoverflow/query/new.