2.3 按子串排序

在order by 子句中使用substr函数

select ename,job from emp
    order by substr(job,length(job)-2)

原文地址:https://www.cnblogs.com/liang545621/p/7518458.html