Monthly average questions per day

0

Please login or register to vote for this query.

(click on this box to dismiss)

History

Q&A for historians and history buffs

SELECT
YEAR(CreationDate)*12+MONTH(CreationDate) AS MonthNumber,
CAST(COUNT(*) AS FLOAT)/30 AS "Approximate Questions Per Day"
FROM Posts
WHERE PostTypeId=1
GROUP BY YEAR(CreationDate),MONTH(CreationDate)
ORDER BY YEAR(CreationDate) DESC,MONTH(CreationDate) DESC

Enter Parameters

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