Tumbleweeds and Scholars over the years

0

Please login or register to vote for this query.

(click on this box to dismiss)

Christianity

Q&A for committed Christians, experts in Christianity and those interested in learning more

select year(Date), 
--       sum(iif(Name = 'Nice Answer', 1, 0)) 'Nice Answers',
       sum(iif(Name = 'Scholar', 1, 0)) Scholars,
--       sum(iif(Name = 'Teacher', 1, 0)) Teacher,
       sum(iif(Name = 'Tumbleweed', 1, 0)) Tumbleweeds
from Badges
where year(Date) < year(getdate())
group by year(Date)
order by 1

Enter Parameters

Options:
Switch sites:
loading Hold tight while we fetch your results