select cyear, sum(w.AnswerCount) as answer_sum from (sele...

0

Please login or register to vote for this query.

(click on this box to dismiss)

Sports

Q&A for participants in team and individual sport activities

select cyear, sum(w.AnswerCount) as answer_sum from 
(select YEAR(CreationDate) as cyear, AnswerCount from Posts 
where CreationDate <= '2020-03-01' and PostTypeId = 1) as w 

group by cyear order by cyear;

Enter Parameters

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