我有一个基本的SQL查询
SELECT ACC_AMNT FROM ACCOUNTS WHERE ACC_ID = 10
这会返回2行我想要做的是在第一行之后获取数据
我该怎么做?
答案 0 :(得分:0)
> select *
> from (select level , rownum rn
> from dual
> connect by level < 30
> -- here may be your code
> -- you can order, and after get needed data
> ) where rn > 1