Average number of answers depending on the weekday when the question was posted

1

Please login or register to vote for this query.

(click on this box to dismiss)

Reverse Engineering Meta

Q&A about the site for researchers and developers who explore the principles of a system through analysis of its structure, function, and operation

;WITH tmp AS
(SELECT AnswerCount AS ACount,
    Period = DATEPART("weekday", CreationDate)
FROM Posts
WHERE PostTypeId=1
)
SELECT Period, AVG(cast(ACount as decimal))
FROM tmp
GROUP BY Period
ORDER BY Period

Enter Parameters

Options:
Switch sites:
loading Hold tight while we fetch your results