select datepart(hour, Posts.CreationDate) Hour, count(Pos...

0

Please login or register to vote for this query.

(click on this box to dismiss)

Islam

Q&A for Muslims, experts in Islam, and those interested in learning more about Islam

select
datepart(hour, Posts.CreationDate) Hour,
count(Posts.Id) Questions
from Posts
where PostTypeid = 1 and Tags LIKE '%<r>%' 
group by datepart(hour, Posts.CreationDate)
order by count(posts.id) desc

Enter Parameters

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