考察字符串截取函数
left(str,len) 从左边截取,截取xx长度
right(str,len) 从左边截取,截取xx长度
substring(str,position,len) position:开始位置,len:长度
select first_name from employees order by right(first_name,2)
考察字符串截取函数
left(str,len) 从左边截取,截取xx长度
right(str,len) 从左边截取,截取xx长度
substring(str,position,len) position:开始位置,len:长度
select first_name from employees order by right(first_name,2)