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


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,
MIN(p.Score) as MinScore,
MAX(p.Score) as MaxScore,
AVG(p.ViewCount) as AvgViews,
MIN(p.ViewCount) as MinViews,
MAX(p.ViewCount) as MaxViews,
AVG(p.AnswerCount) as AvgAnswers,
MIN(p.AnswerCount) as MinAnswers,
MAX(p.AnswerCount) as MaxAnswers,
AVG(p.CommentCount) as AvgComments,
MIN(p.CommentCount) as MinComments,
MAX(p.CommentCount) as MaxComments,
AVG(p.FavoriteCount) as AvgFavorites,
MIN(p.FavoriteCount) as MinFavorites,
MAX(p.FavoriteCount) as MaxFavorites

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 t.TagName, year(p.CreationDate)

Enter Parameters

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