Most prolific reviewers

0

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 
  Users.Id [User Link], 
  COUNT(*) [Total],
  SUM(CASE WHEN SuggestedEditVotes.VoteTypeId = 2 THEN 1 ELSE 0 END) [Approved],
  SUM(CASE WHEN SuggestedEditVotes.VoteTypeId = 3 THEN 1 ELSE 0 END) [Rejected]
FROM Users, SuggestedEditVotes 
WHERE  
  Users.Id = SuggestedEditVotes.UserId 
And 
  Users.Id > 0 
GROUP BY Users.Id
HAVING COUNT(*) > 100
ORDER BY Total DESC;

Enter Parameters

Options:
Switch sites:
loading Hold tight while we fetch your results