Q&A for the craft of professional writing, including fiction, non-fiction, technical, scholarly, and commercial writing
SELECT TOP(##num?100##) RANK() OVER(ORDER BY COUNT(*) DESC) AS Rank, b.UserId AS [User Link], COUNT(*) AS [Count], MAX(b.Date) As [The Most Recent] FROM Badges b INNER JOIN Users u ON b.UserId=u.Id WHERE (b.Name = '##name?Great Answer##') GROUP BY b.UserId ORDER BY COUNT(*) DESC, MAX(b.Date) DESC