Ruby On Rails growth over last 3 years

0

Please login or register to vote for this query.

(click on this box to dismiss)

Latin Language

Q&A for linguists, teachers, and students wanting to discuss the finer points of the Latin language

SELECT
CAST(DATEPART(year, Posts.CreationDate) AS VARCHAR(4)) + '-' +
CAST(DATEPART(month, Posts.CreationDate) AS VARCHAR(2)) as month_year,
    count(*) AS tagcount
FROM Posts
    INNER JOIN PostTags ON PostTags.PostId = Posts.id
    INNER JOIN Tags     ON Tags.id         = PostTags.TagId
WHERE
    Tags.tagname='redis' AND
    datepart(year,  Posts.CreationDate) IN (2010, 2011, 2012)
    GROUP BY DATEPART(year, Posts.CreationDate), DATEPART(month, Posts.CreationDate)
    ORDER BY DATEPART(year, Posts.CreationDate), DATEPART(month, Posts.CreationDate)

Enter Parameters

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