Average number of posts by 20k+ Users


Please login or register to vote for this query.

(click on this box to dismiss)

Stack Overflow

Q&A for professional and enthusiast programmers

SELECT COUNT(ct.PostCount) as NumUsers, AVG(ct.PostCount) as Average FROM
(SELECT COUNT(Posts.Id) As PostCount 
FROM Posts INNER JOIN Users on Posts.OwnerUserId=Users.Id
WHERE Users.Reputation > 20000
GROUP BY Posts.OwnerUserId) ct

Enter Parameters

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