Top Editors

3

Please login or register to vote for this query.

(click on this box to dismiss)

Ask Ubuntu

Q&A for Ubuntu users and developers

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 sites:
loading Hold tight while we fetch your results