Questions per month since 2015

0

Please login or register to vote for this query.

(click on this box to dismiss)

Drupal Answers Meta

Q&A about the site for Drupal developers and administrators

SELECT
    DATEFROMPARTS(YEAR(CreationDate), MONTH(CreationDate), 1) AS [Month],
    COUNT(*) AS [Questions]
FROM
    Posts
WHERE
    CreationDate >= '2015-01-01'
    AND PostTypeId = 1
GROUP BY
    YEAR(CreationDate),
    MONTH(CreationDate)
ORDER BY
    [Month] DESC;

Enter Parameters

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