How much rep would you have if there was no reputation cap
Q&A for programmers
-- A Users total Rep ON META if there was no reputation cap
-- HAH repCap on meta...
-- How much rep would you have if there was no reputation cap
Select Users.Id as [User Link], (SELECT
WHEN VoteTypeId = 1 THEN 15 -- Accepted answer.
WHEN VoteTypeId = 2 AND PostTypeId = 1 THEN 5 -- Upvoted question
WHEN VoteTypeId = 2 AND PostTypeId = 2 THEN 10 -- Upvoted answer.
WHEN VoteTypeId = 3 THEN -2 -- Downvote.
WHEN VoteTypeId = 9 THEN isnull(BountyAmount,100)
WHEN VoteTypeID = 15 THEN 2 -- Accepting answers
WHEN VoteTypeID = 16 THEN 2 -- Suggested edits
Posts ON Posts.Id = Votes.PostId
Posts.OwnerUserId = Users.Id) as Reputation
WHERE Reputation > 0
ORDER BY Reputation DESC
Error: looks like you typed in the wrong words - try again