Tag frequency by Time of Day and Day of Week

0

Please login or register to vote for this query.

(click on this box to dismiss)

Give me a tag, I'll show you when it is most likely to be answered... sort of.

The Workplace Meta

Q&A about the site for members of the workforce navigating the professional setting

-- Questions by Time of Day and Day of Week
-- Designed to consider whether "night" questions have more visibility than "day" questions

select
datename(weekday, Posts.CreationDate) Weekday,
datepart(hour, Posts.CreationDate) Hour,
count(Posts.Id) Questions
from Posts
where PostTypeid = 1 -- 1 = Question
group by datename(weekday, Posts.CreationDate),
datepart(hour, Posts.CreationDate)
-- order by datepart(hour, Posts.CreationDate)
order by count(posts.id) desc

Enter Parameters

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