select if(age >= 25, '25岁及以上', '25岁以下') as age_cut, COUNT(device_id) as number
from user_profile
group by age_cut

这题我不会 基本没有写过if语句