Q&A for people looking to bypass life's everyday problems with simple tricks
-- Average answer score/views by hour SELECT DatePart(hh,CreationDate) Hour, Round(Avg(Cast(Score as float)),2) AvgScore, Avg(ViewCount) AvgViews FROM Posts WHERE PostTypeId = 2 GROUP BY DatePart(hh,CreationDate)