思路:
想到python中的切片 试了下 不行
题解:
select first_name
from employees
order by RIGHT(first_name,2)
right 函数的使用
它能返回从最右边开始指定长度的字符串。
同理LEFT函数就是返回从最左边开始的指定长度字符串。
思路:
想到python中的切片 试了下 不行
题解:
select first_name
from employees
order by RIGHT(first_name,2)
right 函数的使用
它能返回从最右边开始指定长度的字符串。
同理LEFT函数就是返回从最左边开始的指定长度字符串。