select count (case when number_of_questions <10 then 1 en...

0

Please login or register to vote for this query.

(click on this box to dismiss)

Literature Meta

Q&A about the site for scholars and enthusiasts of literature

select count (case when number_of_questions <10 then 1 end) as less_10, 
          count (case when number_of_questions >=10 and number_of_questions<=20 then 1 end) as more_10_and_less_21, 
          count (case when number_of_questions>20 then 1 end) as more_20 
from (select count (Id) as number_of_questions from Posts where PostTypeId=1 
group by OwnerUserId) as s;

Enter Parameters

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