题解 | 给出employees表中排名为奇数行的first_name

with e2 as
    (select *,row_number() over (order by first_name) as row_num
    from employees)
select e2.first_name
from e2
where mod(row_num,2)=1
order by e2.emp_no;

全部评论

相关推荐

评论
点赞
收藏
分享

创作者周榜

更多
牛客网
牛客企业服务