Compare Gold, Silver and Bronze Tag Badges


Please login or register to vote for this query.

(click on this box to dismiss)

Amateur Radio

Q&A for amateur radio enthusiasts

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

Select 1 As [Order], 'Gold' As Label, UserId As [User Link], Num
From (
Select Top 40 UserId, Count(*) As Num
From (Select UserId From UserBadges
Where NumBadges>=1) d
Group By UserId
Order By Num desc) G

Order By [Order], Num Desc

Enter Parameters

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