具體可以百度下:
dense_rank()
over()
partition by
還有:
select * from(
select t.*,rownum rn from
(select e.* from emp e order by e.sal desc) t ) where rn = 2;
希望能對妳有所幫助
具體可以百度下:
dense_rank()
over()
partition by
還有:
select * from(
select t.*,rownum rn from
(select e.* from emp e order by e.sal desc) t ) where rn = 2;
希望能對妳有所幫助