# of Python%-like tags generated per year

0

Please login or register to vote for this query.

(click on this box to dismiss)

Stack Overflow

Q&A for professional and enthusiast programmers

-- `python%` like tags 

SELECT 
    DATEDIFF(year, Posts.CreationDate, CURRENT_TIMESTAMP) AS age,
    COUNT(*) AS CNT 
FROM Tags
    INNER JOIN PostTags ON PostTags.TagId = Tags.id
    INNER JOIN Posts on PostTags.PostId = Posts.Id
WHERE TagName like 'python%'
GROUP BY DATEDIFF(year, Posts.CreationDate, CURRENT_TIMESTAMP)
ORDER BY age DESC
;

Enter Parameters

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