Python co-tags last two years

0

Please login or register to vote for this query.

(click on this box to dismiss)

Science Fiction and Fantasy Meta

Q&A about the site for science fiction and fantasy enthusiasts

SELECT Tags.TagName, 
       Count(Tags.TagName) AS TagCount 
FROM   Posts 
       JOIN PostTags 
         ON Posts.Id = PostTags.PostID
       JOIN Tags 
         ON PostTags.TagID = Tags.ID
WHERE  Posts.Tags LIKE '%<python>%' AND Posts.CreationDate >= DATEADD(m, -25, GETDATE())
GROUP  BY Tags.TagName 
ORDER  BY TagCount DESC

Enter Parameters

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