how long before I get tag badges?
Q&A for professional and enthusiast programmers
-- How many upvotes do I have for each tag?
-- how long before I get tag badges?
DECLARE @UserId int = ##UserId##
SELECT --TOP 20
INNER JOIN Votes ON Votes.PostId = Posts.Id
Posts.OwnerUserId = @UserId