Q&A about the site for science fiction and fantasy enthusiasts
SELECT Location, COUNT(*) AS NumberOfActiveUsers FROM Users WHERE Location = 'Amsterdam' AND LastAccessDate > DATEADD(year, -1, GETDATE()) GROUP BY Location;