[Oracle] ORACLE MANUED Finding Statement Implementation

xiaoxiao2021-03-05  28

[Oracle] ORACLE MANUED Finding Statement Implementation

We often have to access a middle part of the data set, such as the 10th to 20th records, and there is a good statement in Oracle to implement, that is,. The following is an example:

With partdata as (SELECT ROWNUM ROWNO, T. * from table1 t where t.id> 200407160000) Select * from partdata where riono betWeen 10 and 20

Of course, there is another way, but I am currently tested the fastest speed.

转载请注明原文地址:https://www.9cbs.com/read-33848.html

New Post(0)