Q&A for enthusiasts and power users of the Android operating system
SELECT DATEADD(mm, (Year(Posts.CreationDate) - 1900) * 12 + Month(Posts.CreationDate) - 1, 0) AS Month, Tags.TagName, COUNT(*) AS Questions FROM Tags LEFT JOIN PostTags ON PostTags.TagId = Tags.Id LEFT JOIN Posts ON Posts.Id = PostTags.PostId LEFT JOIN PostTypes ON PostTypes.Id = Posts.PostTypeId WHERE Tags.TagName IN ( -- JVM languages --'scala', 'groovy', 'clojure', 'jython', 'jruby' -- Javascript MV* libraries and others --'angularjs', 'backbone.js', 'dojo', 'ember.js', 'extjs', 'knockout.js', 'yui' -- Languages --'javascript', 'php', 'java', 'c#', 'python', 'c++', 'objective-c', 'c', 'ruby', 'perl', 'c', 'objective-c', 'perl', 'ruby', 'vb.net', 'go', 'haskell', 'lua', 'vb6' -- MV* Web Frameworks --'asp.net-mvc', 'django', 'ruby-on-rails', --'cakephp', 'codeigniter', 'express', 'laravel', 'meteor', 'sinatra', 'spring-mvc', 'symfony2', 'yii', 'zend-framework' -- SQL Databases --'mysql', 'oracle', 'postgresql', 'sql-server' ) AND PostTypes.Name = 'Question' AND -- Exclude the current month Posts.CreationDate < DATEADD(month, DATEDIFF(month, 0, GETDATE()), 0) GROUP BY Year(Posts.CreationDate), Month(Posts.CreationDate), Tags.TagName ORDER BY Year(Posts.CreationDate), Month(Posts.CreationDate), Tags.TagName