how long before I get tag badges?
Q&A for apps, scripts, and development with the Stack Exchange API
-- How many upvotes do I have for each tag?
-- how long before I get tag badges?
DECLARE @UserId int = ##UserId##
INNER JOIN Votes ON Votes.PostId = Posts.Id and VoteTypeId = 2
Posts.OwnerUserId = @UserId