SELECT TOP 20 row_number() over(order by count(*) desc) a...

0

Please login or register to vote for this query.

(click on this box to dismiss)

elementary OS Meta

Q&A for developers and users of elementary OS and applications

SELECT TOP 20 row_number() over(order by count(*) desc) as rank, 
  UserId AS [User Link], count(*) AS badges
FROM Badges
WHERE Name='Necromancer'
GROUP BY UserId
ORDER BY Badges DESC

Enter Parameters

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