instruction: Users with 2K rep who visited in the last 30 days.
response: SELECT Id AS "user_link", DATEDIFF(day, LastAccessDate, GETDATE()) AS DaysSinceLastVisit FROM Users WHERE Reputation >= 2000 AND DATEDIFF(day, LastAccessDate, GETDATE()) < 30 ORDER BY DaysSinceLastVisit