Scratchpad2

0

Please login or register to vote for this query.

(click on this box to dismiss)

Physics

Q&A for active researchers, academics and students of physics

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 meta site
loading Hold tight while we fetch your results