Lists top 100 users who have highest votes/day ratio excluding community user and minimum of 100 votes cast. Uncomment last line to filter by id.
Q&A for pro webmasters
-- Top 100 users having highest votes per day ratio -- Lists top 100 users who have highest votes/day ratio excluding community user and minimum of 100 votes cast. Uncomment last line to filter by id. select id [User Link] , datediff(dd, creationdate, GETDATE() )"Days" ,(upvotes+downvotes) "Votes" , cast(nullif((upvotes+downvotes), 0) / datediff(dd, creationdate, GETDATE() ) as float) "Votes/Day Ratio" from users where id <> -1 and (upvotes+downvotes)> 100 -- and id = ##User_ID## order by "Votes/Day Ratio" desc