RavenDB over time


Please login or register to vote for this query.

(click on this box to dismiss)

Stack Overflow

Q&A for professional and enthusiast programmers

select count(*) as posts, year, month from (
datepart(month, Posts.CreationDate) as Month, datepart(year, Posts.CreationDate) as Year
FROM PostTags
    INNER JOIN Tags on PostTags.TagId = Tags.Id
    INNER JOIN Posts on PostTags.PostId = Posts.Id
WHERE Tags.TagName = 'ravendb'
) as Data
group by year, month
order by year, month

Enter Parameters

Switch sites:
loading Hold tight while we fetch your results