Reputation of Stack Overflow members 16 and under, sorted by reputation in descending order. Seemingly anonymous users have not been included.
Q&A for professional and enthusiast programmers
-- Members by Age and Reputation
-- StackOverflow members from youngest to oldest, by reputation over 1000.
DECLARE @Reputation int
SET @Reputation = (SELECT [Reputation] FROM Users WHERE Id = ##UserId##)
SELECT Id, DisplayName, Age, Reputation, CreationDate, LastAccessDate,
'http://stackoverflow.com/users/' + CAST(Id AS VARCHAR) AS Url
FROM Users b
b.Age < 18
AND b.Reputation >= @Reputation
ORDER BY b.Reputation DESC, b.Age;