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

Home -> Community -> Usenet -> c.d.o.server -> Re: HELP !!!!!!

Re: HELP !!!!!!

From: DBAOracle <dbaoracle_at_aol.com>
Date: 04 Jul 1999 23:58:50 GMT
Message-ID: <19990704195850.16905.00007458@ng-fw1.aol.com>


try ....

select a.col1
from (select col1 col2 from table a

        order by col1) a
where rownum <=100;

I think this will work. The order by is the problem in that you have to do it in the subquery rather than the main query.

Robert Received on Sun Jul 04 1999 - 18:58:50 CDT

Original text of this message

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