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: Order By Problem

Re: Order By Problem

From: spencer <spencerp_at_swbell.net>
Date: Mon, 17 Jan 2000 17:02:28 -0600
Message-ID: <5cNg4.526$%_6.3670@nnrp2.rcsntx.swbell.net>


move the ORDER BY to the outer query.

"Shaojie Hu" <maichen_at_rols.com> wrote in message news:8605vb$hmn$1_at_bob.news.rcn.net...
> Hi, All:
>
> Oracle does not allow to use Order By clause in subquery, how
do I solve the
> problem?
> what I want is something like this:
>
> select * from (select x.*, rownum r from foo
> order by col1);
>
> Thanks.
>
>
Received on Mon Jan 17 2000 - 17:02:28 CST

Original text of this message

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