Raku questions per month

0

Please login or register to vote for this query.

(click on this box to dismiss)

Plots total questions over time Reference: http://meta.stackoverflow.com/q/260570/331508

Computational Science

Q&A for scientists using computers to solve scientific problems

WITH QuestStatsByMonth  AS (
    SELECT      DATEADD (month, DATEDIFF (month, 0, q.CreationDate), 0)  AS [Month],
    q.Id AS id

    FROM        Posts           q
    INNER JOIN  PostTags        pt
    ON          q.Id            = pt.PostId
    INNER JOIN  Tags            t
    ON          t.Id            = pt.TagId

    WHERE       q.PostTypeId    = 1
    AND         t.TagName       = 'perl6'

)
SELECT
q.[Month], COUNT(q.id) AS Qs

FROM        QuestStatsByMonth   q
LEFT JOIN   QuestStatsByMonth   h
ON          h.[Month]           = q.[Month]
GROUP BY    q.[Month]
ORDER BY    q.[Month]

Enter Parameters

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