#用if函数的写法SELECT IF(age>=25,"25岁及以上","25岁以下") AS age_cut,count(device_id) AS numberFROM user_profileGROUP BY age_cut;#联合查询SELECT "25岁以下" as age_cut,count(device_id) as numberFROM user_profileWHERE age<25 OR age IS nullUNION ALLSELECT "25岁及以上" as age_cut,c...