Oracle FAQ Your Portal to the Oracle Knowledge Grid
HOME | ASK QUESTION | ADD INFO | SEARCH | E-MAIL US
 

Home -> Community -> Usenet -> c.d.o.misc -> Re: Selecting last n rows

Re: Selecting last n rows

From: Vincent GRENET <vincent.grenet_at_free.fr>
Date: Mon, 05 Jul 1999 20:22:25 GMT
Message-ID: <5u8g3.2$0r5.10251@nnrp1.proxad.net>


If you can order the query, you can then select the first 10 rows using rownum:

select * from <table> where rownum<10;

Vince

Himanshu Gupta <himanshu.gupta_at_luton.ac.uk> a écrit dans le message : 3779D104.C4EFC45C_at_luton.ac.uk...
> How can I select last 10 rows from a table
> having more that 10,000 records?
>
> Thanks.
> Himanshu.
>
Received on Mon Jul 05 1999 - 15:22:25 CDT

Original text of this message

HOME | ASK QUESTION | ADD INFO | SEARCH | E-MAIL US