select substring_index(substring_index(profile,',',-2) ,',',1) as age, count(device_id) as number from user_submit group by age 如何截取文件路径中的age信息 1)substr(str,start,[,length]) substr(profile,12,2) 2)substring_index(str,delim,count) 双重截取 第一次截取: substring_index(profile,",",-2)----27,male 第二次截取...