Number of Posts

0

Please login or register to vote for this query.

(click on this box to dismiss)

Computational Science

Q&A for scientists using computers to solve scientific problems

SELECT 
    YEAR(CreationDate) AS year1,
    MONTH(CreationDate) AS month1,
    Location,
    COUNT(Id) AS user_count
FROM 
    Users
WHERE 
YEAR(CreationDate) = 2022 AND
MONTH(CreationDate) BETWEEN 10 AND 12

GROUP BY 
    YEAR(CreationDate),
    MONTH(CreationDate),
    Location
ORDER BY 
    YEAR(CreationDate) DESC,
    MONTH(CreationDate),
    Location DESC

Enter Parameters

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