Top users without gold badge.


Please login or register to vote for this query.

(click on this box to dismiss)

Raspberry Pi

Q&A for users and developers of hardware and software for Raspberry Pi

Select Top 100
  Users.Id as [User Link],
  Sum(case when Badges.Class = 2 then 1 else 0 end) as Silver,
  Sum(case when Badges.Class = 3 then 1 else 0 end) as Bronze
From Users 
  Inner Join Badges On Badges.UserId = Users.Id
Group By Users.Id, Reputation, DisplayName
Having Min(Badges.Class) > 1
Order By Reputation Desc

Enter Parameters

Switch sites:
loading Hold tight while we fetch your results