Most gold tag badges

1

Please login or register to vote for this query.

(click on this box to dismiss)

Stack Overflow

Q&A for professional and enthusiast programmers

With UserBadges AS (Select UserId, Count(*) As NumBadges From Badges
Where Name In (Select TagName from Tags)
Group By UserId, Name) 

Select UserId As [User Link], Num
From (
Select Top 15 UserId, Count(*) As Num
From (Select UserId From UserBadges
Where NumBadges>=3) d
Group By UserId
Order By Num desc) G

Enter Parameters

Options:
Switch sites:
loading Hold tight while we fetch your results