SELECT b.UserId, COUNT(b.UserId) AS BadgesCount, u.Displa...

0

Please login or register to vote for this query.

(click on this box to dismiss)

Chess Meta

Q&A about the site for serious players and enthusiasts of chess

SELECT b.UserId, COUNT(b.UserId) AS BadgesCount, u.DisplayName
FROM Badges b
JOIN Users u
ON b.UserId = u.Id
GROUP BY u.DisplayName, b.UserId
ORDER BY BadgesCount DESC

Enter Parameters

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