题解 | RIGHT提取右边指定长度字符串

获取employees中的first_name

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

select first_name
from (
    select first_name, RIGHT(first_name, 2) as last_two_string
    from employees
    order by last_two_string
) as a;

全部评论

相关推荐

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