select t1.age as age,count(t1.age)as number from (select substring_index(t0.profile,',',1) as age from (select substring_index(profile,',',-2) as profile from user_submit)as t0) as t1 group by age order by t1.age desc 题目中要求截取出年龄,首先想到的便是substring_index函数,但是使用该函数指定逗号‘,’为分隔符之后,无论参数取正还是取负,即不论从前往后截还是从后往前...