VtC review queue all-time tag distribution

1

Please login or register to vote for this query.

(click on this box to dismiss)

Chess

Q&A for serious players and enthusiasts of chess

WITH Raw AS (
  SELECT *
  FROM ReviewTasks
  WHERE
    ReviewTaskTypeId = 2
    AND
    ReviewTaskStateId = 1
)
SELECT Tags.TagName,
  COUNT(*) AS Count, 100.0 * COUNT(*) / (SELECT COUNT(*) FROM Raw) AS Pct
FROM Raw, Posts, Tags, PostTags
WHERE
  Posts.Id = Raw.PostId
  AND
  Posts.Id = PostTags.PostId
  AND
  PostTags.TagId = Tags.Id
GROUP BY Tags.TagName
ORDER BY Pct DESC

Enter Parameters

Options:
Switch sites:
loading Hold tight while we fetch your results