users votes per day ratio

1

Please login or register to vote for this query.

(click on this box to dismiss)

Unix and Linux

Q&A for users of Linux, FreeBSD and other Un*x-like operating systems

SELECT
TOP 200
     id [User Link]
     , datediff(dd, creationdate, GETDATE() )"Days"
     ,(upvotes+downvotes) "Votes"
     , round(cast(nullif((upvotes+downvotes), 0)as float) / datediff(dd, creationdate, GETDATE()),4)  "Votes/Day Ratio"
FROM users
ORDER BY "Votes/Day Ratio" DESC

Enter Parameters

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