Users with the best Up/Down Vote ratio

0

Please login or register to vote for this query.

(click on this box to dismiss)

TeX - LaTeX

Q&A for users of TeX, LaTeX, ConTeXt, and related typesetting systems

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

SELECT TOP 10 
    Id as [User Link],
    UpVotes,
    DownVotes,
    CAST((CAST(UpVotes AS float) / (CASE WHEN DownVotes = 0 THEN 1 ELSE CAST(DownVotes AS float) END)) AS int) AS UpVoteRatio
FROM Users
WHERE UpVotes > @MinUpVotes
AND DownVotes > @MinDownVotes
ORDER BY UpVoteRatio DESC

Enter Parameters

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