Most frequent badges for users below certain reputation

1

Please login or register to vote for this query.

(click on this box to dismiss)

Emacs

Q&A for those using, extending or developing Emacs

SELECT
  b.Name,
  COUNT (b.Id) AS [Count]
FROM Badges b INNER JOIN Users u ON b.UserId=u.Id
WHERE (u.Reputation<=##max?1##)
GROUP BY b.Name
ORDER BY COUNT(b.Id) DESC

Enter Parameters

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