Q&A about the site for enthusiasts and scholars of mythology and folklore
SELECT DATEADD(MONTH, DATEDIFF(MONTH, 0, CreationDate), 0) AS Month, COUNT(*) AS UnansweredCount FROM Posts WHERE PostTypeId = 1 -- Select questions only AND AnswerCount = 0 -- Unanswered questions GROUP BY DATEADD(MONTH, DATEDIFF(MONTH, 0, CreationDate), 0) ORDER BY Month;