select t.TagName, year(p.CreationDate) as QuestionYear, C...

0

Please login or register to vote for this query.

(click on this box to dismiss)

Open Source Meta

Q&A about the site for people organizing, marketing or licensing open source development projects

select t.TagName, year(p.CreationDate) as QuestionYear,
COUNT(p.Id) as Count,
AVG(p.Score) as AvgScore, 
AVG(p.ViewCount) as AvgViews, 
AVG(p.AnswerCount) as AvgAnswers, 
AVG(p.CommentCount) as AvgComments, 
AVG(p.FavoriteCount) as AvgFavorites

FROM Posts p, Tags t, PostTags pt
WHERE p.AcceptedAnswerId is not Null
AND pt.PostId = p.Id
AND pt.TagId = t.Id
AND p.CreationDate < ('2021-01-01')
AND p.CreationDate > ('2015-12-30')
and p.Score > 0
and t.Count > 500
and p.PostTypeId = 1
and p.CommunityOwnedDate is Null
GROUP BY year(p.CreationDate), t.TagName
ORDER BY year(p.CreationDate)

Enter Parameters

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