Users With the Highest Quality Posts (filter num posts)

1

Please login or register to vote for this query.

(click on this box to dismiss)

Enter the minimum number of posts that a user must have, and this will show the users who have the highest reputation per post in that group.

Stack Overflow

Q&A for programmers

-- Users With the Highest Quality Posts (filter num posts)
-- Enter the minimum number of posts that a user must have, and this will show the
-- users who have the highest reputation per post in that group.

SELECT
    Id AS [User Link],
    Reputation,
    Reputation * 1.0 / C.Cnt AS [Rep Per Post]
FROM
   Users U
   INNER JOIN (
      SELECT OwnerUserId, Cnt = Count(*)
      FROM posts
      GROUP BY OwnerUserID
      HAVING Count(*) >= ##MinNumberOfPosts##
   ) C ON U.Id = C.OwnerUserId
ORDER BY [Rep Per Post] DESC

Enter Parameters

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