Average Reputation Of All Users

0

Please login or register to vote for this query.

(click on this box to dismiss)

This will tell you the average reputation of all users.

Stack Overflow

Q&A for programmers

-- Enter Query Title
-- Enter Query Description

DECLARE @MinimumReputation int = ##MinimumReputation##

SELECT
  SUM(Reputation) AS "Total Reputation",
  COUNT(Id) AS "User Count",
  SUM(Reputation) / COUNT(Id) AS "Average Reputation"
FROM
  Users
WHERE
  Reputation >= @MinimumReputation;

Enter Parameters

Options:
Switch sites:
loading Hold tight while we fetch your results
:records returned in :time ms:cached