题解 | #获取employees中的first_name#

获取employees中的first_name

https://www.nowcoder.com/practice/74d90728827e44e2864cce8b26882105

一.
select
first_name
from(
select 
right(employee1.A,1) as you
,left(employee1.A,1) as zuo
,employee1.first_name
from
(select
right(first_name, 2) as A
,first_name
from employees) as employee1) as employee2
order by employee2.zuo ASC, employee2.you ASC

二.

select

employee1.first_name

from

(select

right(first_name, 2) as A

,first_name

from employees) as employee1

order by A ASC

全部评论

相关推荐

评论
点赞
收藏
分享
牛客网
牛客企业服务