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)

Physical Fitness Meta

Q&A about the site for physical fitness professionals, athletes, trainers, and those providing health-related needs

;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