Users with the best Up/Down Vote ratio

0

Please login or register to vote for this query.

(click on this box to dismiss)

Christianity

Q&A for committed Christians, experts in Christianity and those interested in learning more

DECLARE @MinUpVotes int = ##MinUpVotes##
DECLARE @MinDownVotes int = ##MinDownVotes##

SELECT TOP 100
    Id as [User Link],
    UpVotes,
    DownVotes,
    Reputation,
    CAST( (CAST(DownVotes AS float) / CAST(Reputation AS float)) AS int) AS UpVoteRatio
FROM Users
WHERE UpVotes > @MinUpVotes
AND DownVotes > @MinDownVotes
ORDER BY UpVoteRatio DESC

Enter Parameters

Options:
Switch sites:
loading Hold tight while we fetch your results