Users By Number Of Gold Non-Tag Badges


Please login or register to vote for this query.

(click on this box to dismiss)

Hinduism Meta

Q&A about the site for followers of the Hindu religion and those interested in learning more about Hinduism

with GoldBadgeCounts as (
    u.Id as UserId,
      select count(*) from Badges b
      where b.UserId = u.Id
      and b.Name in (
        'Copy Editor',
        'Famous Question',
        'Great Answer',
        'Great Question',
        'Stellar Question',
        'Unsung Hero'
    ) as GoldCount
  from Users u

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

Enter Parameters

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