Average votes for mid-level users

0

Please login or register to vote for this query.

(click on this box to dismiss)

Calculate the average upvotes for users with 1000-10000 reputation

Super User

Q&A for computer enthusiasts and power users

-- Average votes for mid-level users
-- Calculate the average upvotes for users with 1000-10000 reputation

SELECT
   COUNT(0) AS NumUsers,
   SUM(UpVotes) / COUNT(0) AS AvrUpVotes,
   SUM(DownVotes) / COUNT(0) AS AvrDownVotes
FROM
   Users
WHERE
   Reputation > 1000 AND
   Reputation < 10000;

Enter Parameters

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