Number of posts per weekday

1

Please login or register to vote for this query.

(click on this box to dismiss)

Physics

Q&A for active researchers, academics and students of physics

;WITH tmp AS
(SELECT Id,
    Period = DATEPART("weekday", CreationDate)
FROM Posts
)
SELECT Period,COUNT(*)
FROM tmp
GROUP BY Period
ORDER BY Period

Enter Parameters

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