select 分数段,count(1) as 人数 from(select iif(分数=100,'100',iif(分数>=90,'90',iif(分数>=80,'80','80以下'))) as 分数段 from 表名) a group by 分数段