Q&A for people studying math at any level and professionals in related fields
SELECT TOP 10 u.DisplayName, COUNT(*) AS BadgeCount FROM Badges b INNER JOIN Users u ON b.UserId = u.Id GROUP BY u.DisplayName ORDER BY BadgeCount DESC;