How long before tag badges?
Q&A for programmers
-- How many upvotes do I have for each tag?
-- How long before tag badges?
DECLARE @UserId int = ##UserId##
TOP 20 TagName,
Count(*) AS Upvotes
PostTags ON PostTags.TagId = Tags.id
Posts ON Posts.ParentId = PostTags.PostId
Votes ON Votes.PostId = Posts.Id
Posts.CommunityOwnedDate IS NULL
Posts.OwnerUserId = @UserId
Error: looks like you typed in the wrong words - try again