Number of Posts

0

Please login or register to vote for this query.

(click on this box to dismiss)

Mathematics

Q&A for people studying math at any level and professionals in related fields

SELECT 
    YEAR(CreationDate) AS year1,
    MONTH(CreationDate) AS month1,
    Location,
    COUNT(Id) AS user_count
FROM 
    Users
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