if用法 SELECT if(age is null or age <25,"25岁以下", "25岁及以上") age_cut, count(device_id) number from user_profile group by age_cut