select 
case 
when age >= 25 then '25岁及以上'
else '25岁以下' //这里注意用else:包含 null
end as age_cut,
count(*) number
from user_profile
group by age_cut;