Ruby On Rails growth over last 3 years

0

Please login or register to vote for this query.

(click on this box to dismiss)

Amateur Radio

Q&A for amateur radio enthusiasts

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 sites:
loading Hold tight while we fetch your results