By Answer Count and Year Average Score and Average Views


Please login or register to vote for this query.

(click on this box to dismiss)

Sustainable Living

Q&A for folks dedicated to a lifestyle that can be maintained indefinitely without depleting available resources

select top 50000 AnswerCount, 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], round(avg(cast(CommentCount as decimal(10,2))),2) as [Average Comments]
from posts 
where PostTypeID = 1 and DeletionDate is null 
group by AnswerCount, Year(CreationDate)
order by Year(CreationDate), AnswerCount

Enter Parameters

Switch sites:
loading Hold tight while we fetch your results