List of Most reputed users in a given location - Case Sensitive

0

Please login or register to vote for this query.

(click on this box to dismiss)

Gets a list of most reputed users from a given location.

The Great Outdoors

Q&A for people who love being outdoors enjoying nature and wilderness, and learning about the required skills and equipment

SELECT * FROM
(SELECT TOP 1500 
   'Gold' AS [Type],
   UserId AS [User Link],
   Count(*) as [Count],
   u.CreationDate as [CreationDate],
   u.Reputation as [Reputation]
FROM Badges b
INNER JOIN users u ON u.id = b.userid
      WHERE location like '%##Location##%' AND Reputation>1700 AND Class=1
GROUP BY u.Reputation, u.CreationDate, UserId
ORDER BY [Count] DESC
) g

Enter Parameters

Options:
Switch to meta site
loading Hold tight while we fetch your results