Q&A about the site for researchers and developers who explore the principles of a system through analysis of its structure, function, and operation
SELECT TOP(##num?500##) RANK() OVER(ORDER BY u.Reputation DESC) AS Rank, u.Id AS [User Link], u.Reputation, COUNT (b.Id) AS [Count] FROM Badges b INNER JOIN Users u ON b.UserId=u.Id WHERE (b.Name = '##name?Famous Question##') GROUP BY u.Id, u.Reputation ORDER BY u.Reputation DESC