Q&A for professional and enthusiast programmers
DECLARE @BadgeName AS NVARCHAR(50) = ##BadgeName:string?Great Answer##; SELECT top ##MyTop:int?100## Badges.UserId AS [User Link], Users.Reputation, -- Badges.Name, COUNT(Badges.Id) AS NumberOfBadges FROM Badges INNER JOIN Users ON Users.Id=Badges.UserId WHERE Badges.Name = @BadgeName AND Users.Reputation > 10000 GROUP BY Badges.UserId, Users.Reputation ORDER BY NumberOfBadges DESC