SELECT (case when age>=25 then '25岁及以上'else '25岁以下'end) as age_cut, COUNT(*) as number from user_profile GROUP BY age_cut;