Users by # of moderation badges

0

Please login or register to vote for this query.

(click on this box to dismiss)

Drones and Model Aircraft Meta

Q&A for experienced flyers, pilots, and builders of drones and model aircraft

WITH b AS (SELECT UserId, Name
  FROM Badges
  WHERE Name IN ('Civic Duty', 'Cleanup', 'Deputy', 'Electorate', 'Marshal', 'Reviewer', 'Sportsmanship', 'Steward')
  GROUP BY UserId, Name)
SELECT UserId AS [User Link], COUNT(*) AS 'Number of moderation badges'
  FROM b
  GROUP BY UserId
  ORDER BY COUNT(*) DESC

Enter Parameters

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