Average number of undeleted questions per day per month since site inception


Please login or register to vote for this query.

(click on this box to dismiss)

Stack Overflow

Q&A for professional and enthusiast programmers

SELECT AVG([Count]) AS [Average Questions / Day]
    DATETIMEFROMPARTS(YEAR(CreationDate), MONTH(CreationDate), DAY(CreationDate), 0, 0, 0, 0) AS [Date],
    COUNT(*) AS [Count]
  FROM Posts
  WHERE PostTypeId = 1 -- question
  GROUP BY YEAR(CreationDate), MONTH(CreationDate), DAY(CreationDate)
  -- ORDER BY [Date]
) AS QuestionsPerDay

Enter Parameters

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