题解 | #获取Employees中的first_name#
获取Employees中的first_name
http://www.nowcoder.com/practice/74d90728827e44e2864cce8b26882105
考察字符串截取函数
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)
查看1道真题和解析