How close am I to the Proofreader badge?


Please login or register to vote for this query.

(click on this box to dismiss)

Proofreader requires 100 approvals+rejections, so your distance away is (100 - approvals - rejections).

Stack Overflow

Q&A for programmers

declare @UserId int = ##UserId##

   SUM(CASE WHEN VoteTypeId = 2 THEN 1 else 0 end) Approvals,
   SUM(CASE WHEN VoteTypeId = 3 THEN 1 else 0 end) Rejections,
   (100 - SUM(1)) AS VotesStillNeeded
FROM SuggestedEditVotes
WHERE UserId = @UserId
AND VoteTypeId in (2, 3)

Enter Parameters

Switch sites:
loading Hold tight while we fetch your results