Users By Number Of Gold Non-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 GoldBadgeCounts as (
    u.Id as UserId,
      select count(*) from Badges b
      where b.UserId = u.Id
      and b.Class = 1
    ) as GoldCount
  from Users u

select top 5000
  Rank() over (order by GoldCount desc),
  UserId as [User Link],
  GoldCount as [Gold Badges]
from GoldBadgeCounts
order by GoldCount desc

Enter Parameters

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