Top Editors

3

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 TOP ##Limit##
  rank() OVER (ORDER BY count(*) DESC) AS Rank,
  UserId AS [User Link],
  count(*) AS EditCount
FROM PostHistory
JOIN Posts ON Posts.Id = PostHistory.PostId
WHERE Posts.OwnerUserId != PostHistory.UserId
GROUP BY UserId
ORDER BY Rank ASC

Enter Parameters

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