math answer graph

0

Please login or register to vote for this query.

(click on this box to dismiss)

Mythology Meta

Q&A about the site for enthusiasts and scholars of mythology and folklore

SELECT 
    DATEPART(YEAR, CreationDate) AS Year, 
    DATEPART(MONTH, CreationDate) AS Month, 
    COUNT(*) AS AnswerCount
FROM 
    Posts
WHERE 
    PostTypeId = 1 -- 1 indicates questions
    AND CreationDate >= DATEADD(YEAR, -20, GETDATE())
GROUP BY 
    DATEPART(YEAR, CreationDate), 
    DATEPART(MONTH, CreationDate)
ORDER BY 
    Year, 
    Month;

Enter Parameters

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