排序问题,按照vvv字段中最后一个斜杠后面的数字排序 select * from ss order by reverse(left(reverse(vvv),locate('_',reverse(vvv)) -1 ))+0 desc sql