Average Post Score by Day of the Week

0

Please login or register to vote for this query.

(click on this box to dismiss)

Lifehacks

Q&A for people looking to bypass life's everyday problems with simple tricks

SELECT avg(100*Score)/100.0 as AvgScore,datename(dw,CreationDate) as DayOfWeek,count(Id) as NumPosts
FROM Posts
group by datename(dw,CreationDate)
order by avg(100*Score)/100.0 DESC;

Enter Parameters

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