SELECT YEAR(CreationDate) AS year, MONTH(CreationDate) AS...

0

Please login or register to vote for this query.

(click on this box to dismiss)

Motor Vehicle Maintenance and Repair Meta

Q&A about the site for mechanics and DIY enthusiast owners of cars, trucks, and motorcycles

SELECT 
    YEAR(CreationDate) AS year,
    MONTH(CreationDate) AS month,
    COUNT(*) AS cnt
FROM 
    posts
WHERE 
    PostTypeID = 1
GROUP BY 
    YEAR(CreationDate), MONTH(CreationDate)
ORDER BY 
    cnt DESC

Enter Parameters

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