select TOP 100 t.TagName, year(p.CreationDate) as Questio...

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 TOP 100 t.TagName, year(p.CreationDate) as QuestionYear,
delta.diff as AvgTimeToAnswer

FROM Posts p, Tags t, PostTags pt,

(select CAST(COALESCE(datediff(s, a.CreationDate, b.CreationDate),0) as int) as diff
from Posts a, Posts b WHERE a.AcceptedAnswerId = b.Id) as delta

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

Enter Parameters

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