Cumulative Up and Down votes of all users above certain rep


Please login or register to vote for this query.

(click on this box to dismiss)

Stack Overflow

Q&A for professional and enthusiast programmers

DECLARE @MinRep int = ##MinRep##

    SUM(UpVotes) AS SumUp,
    SUM(DownVotes) AS SumDown,
    100.0*SUM(DownVotes)/(SUM(UpVotes)+SUM(DownVotes)) AS DownPercent,
    COUNT(*) AS CountUsers
FROM Users
WHERE Reputation >= @MinRep

Enter Parameters

Switch to meta site
loading Hold tight while we fetch your results