Q&A about the site for enthusiasts and power users of Windows Phone OS
DECLARE @now DATETIME = (SELECT MAX(LastAccessDate) FROM Users); SET @now = DATEADD(d, -7, @now); SELECT Id AS [User Link], Reputation, LastAccessDate FROM Users WHERE LastAccessDate >= @now AND Reputation >= ##MinRep:int?2000## ORDER BY Reputation DESC, Id DESC