Average wait time for question being answered based on hour of asking


Please login or register to vote for this query.

(click on this box to dismiss)

TeX - LaTeX

Q&A for users of TeX, LaTeX, ConTeXt, and related typesetting systems

SELECT DATEPART(HOUR, Question.CreationDate) AS AskingHour,
AVG(DATEDIFF(MINUTE, Question.CreationDate, Answer.CreationDate))/(60.0*24) as AvgWaitTime
FROM Posts AS Question, Posts as Answer
WHERE Question.AcceptedAnswerId = Answer.Id AND Question.PostTypeId = 1 AND Answer.PostTypeId = 2
GROUP BY DATEPART(HOUR, Question.CreationDate)

Enter Parameters

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