题解 | 给出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;
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;
相关推荐