Show badge achievements for given badge name

0

Please login or register to vote for this query.

(click on this box to dismiss)

Christianity

Q&A for committed Christians, experts in Christianity and those interested in learning more

--DECLARE @badgeName char = ##badgeName##;

SELECT TOP 1000 b.UserId as [User Link], u.Reputation, COUNT(*) as Badges
  FROM Badges b
  JOIN Users u ON b.UserId = u.id
  WHERE b.Name = '##badgeName##'
  GROUP BY b.UserId, u.Reputation
  HAVING COUNT(*) > 0
  ORDER BY COUNT(*) DESC

Enter Parameters

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