select * from students where sex='女' and school ='第三小学'
order by translate(class,'一二三四五六七八九十','0123456789')
如下图:
查询执行计划:
EXPLAIN select * from students where sex='女' and school ='第三小学'
order by translate(class,'一二三四五六七八九十','0123456789')
如下图: