SELECT CONVERT(VARCHAR(7), CreationDate, 20) AS year_month,

0

Please login or register to vote for this query.

(click on this box to dismiss)

The Workplace Meta

Q&A about the site for members of the workforce navigating the professional setting

SELECT 
    CONVERT(VARCHAR(7), CreationDate, 20) AS year_month,
    COUNT(*) AS post_count
FROM
    posts
GROUP BY
    CONVERT(VARCHAR(7), CreationDate, 20)
ORDER BY
    year_month

Enter Parameters

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