Q&A for serious players and enthusiasts of chess
--estimated reputation from upvotes and downvotes --does not take into account: ---- 1. daily reputation cap ---- 2. reputation from suggested edits ---- 3. reputation deduced for downvoting ---- 4. offered bounties --some posts might have been deleted since then SELECT SUM(case v.votetypeid WHEN 1 THEN 15 -- accept WHEN 2 THEN -- upvote CASE p.posttypeid WHEN 1 THEN 5 -- upvote question WHEN 2 THEN 10 -- upvote answer END WHEN 3 THEN -2 -- downvote WHEN 9 THEN BountyAmount -- collected bounty END) as OldRep, SUM(case v.votetypeid WHEN 1 THEN 15 -- accept WHEN 2 THEN 10 -- upvote ---both questions and answers now get +10 from an upvote WHEN 3 THEN -2 -- downvote WHEN 9 THEN BountyAmount -- collected bounty END) as NewRep FROM Posts p INNER JOIN Votes v ON v.PostId=p.Id WHERE p.OwnerUserId=##UserId## AND (p.CommunityOwnedDate IS NULL) --not CW posts