Scratchpad2

0

Please login or register to vote for this query.

(click on this box to dismiss)

Operations Research Meta

Q&A about the site for operations research and analytics professionals, educators, and students

DECLARE @UserId int = ##UserId##

select top 40 DisplayName, Reputation,Upvotes, DownVotes, 
round(cast(Upvotes as float)*100/(Upvotes+ DownVotes),1),
round(cast(DownVotes as float)*100/(Upvotes+ DownVotes),1)
from Users
where Upvotes >= 1000 and DownVotes >= 5
order by 5 desc,3 desc, 2

select top 40 DisplayName,Reputation, Upvotes, DownVotes, 
round(cast(Upvotes as float)*100/(Upvotes+ DownVotes),1),
round(cast(DownVotes as float)*100/(Upvotes+ DownVotes),1)
from Users
where Upvotes >= 5 and DownVotes >= 1000
order by 6 desc, 4 desc,2 desc

Enter Parameters

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