Q&A about the site for scholars and enthusiasts of literature
select count (case when questions <10 then 1 end) as less_10, count (case when questions >=10 and questions<=20 then 1 end) as more_10_and_less_21, count (case when questions>20 then 1 end) as more_20 from (select count(*) questions from Posts where PostTypeId=1 group by OwnerUserId) as s;