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: Query regarding SQL Query - Limiting Result Set

Re: Query regarding SQL Query - Limiting Result Set

From: Franz-Josef Vorspohl <fj.vorspohl_at_gmx.de>
Date: Sat, 18 Mar 2000 16:33:05 +0100
Message-ID: <38D3A1B1.4E490047@gmx.de>


Hello Paus,

> You can write the following query:
>
> SELECT * FROM
> (select * from TABLE_NAME
> WHERE NAME = 'someperson'
> ORDER BY RECORD_DATE desc)
> where rownum<=5;

I think, this work's only with oracle 8i Received on Sat Mar 18 2000 - 09:33:05 CST

Original text of this message

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