SELECT YEAR(CreationDate) AS CreationYear, MONTH(Creation...

0

Please login or register to vote for this query.

(click on this box to dismiss)

Webmasters

Q&A for pro webmasters

SELECT YEAR(CreationDate) AS CreationYear, MONTH(CreationDate) AS CreationMonth, COUNT (*) AS NumUsersCreated
FROM dbo.Users
WHERE YEAR(CreationDate) BETWEEN 2020 AND 2024
GROUP BY YEAR(CreationDate), MONTH(CreationDate)
ORDER BY YEAR(CreationDate), MONTH(CreationDate);

Enter Parameters

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