# 方式1 if判断查询 select if(age >= 25, '25岁及以上' , '25岁以下') AS age_cut, count(device_id) as num from user_profile group by age_cut # 方式2 union联合查询 select '25岁以下' AS age_cut, &...