By Answer Count and Year Average Score and Average Views

0

Please login or register to vote for this query.

(click on this box to dismiss)

Audio-Video Production Meta

Q&A about the site for engineers, producers, editors, and enthusiasts spanning the fields of video, and media creation

DECLARE @answercount int = ##AnswerCount##
select top 50000 Year(CreationDate) as [Year], count(*) as [Count], avg(convert(decimal(10,2), Score)) as [Average Score],avg(convert(decimal(10,2), AnswerCount)) as [Average Answer Count], avg(convert(BigInt, ViewCount)) as [Average Views]
from posts 
where PostTypeID = 1 and DeletionDate is null and AnswerCount = @answercount
group by Year(CreationDate)
order by Year(CreationDate)

Enter Parameters

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