How many upvotes did I get each day?
Q&A about the site for physical fitness professionals, athletes, trainers, and those providing health-related needs
-- How many upvotes do I have for each tag?
-- how long before I get tag badges?
DECLARE @UserId int = ##UserId##
COUNT(*) AS 'Upvotes'
INNER JOIN Votes ON Votes.PostId = Posts.Id and VoteTypeId = 2
Posts.OwnerUserId = @UserId