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 -> Rownum function with order by statement

Rownum function with order by statement

From: Harlin Setiadarma <harlins_at_bigfoot.com>
Date: Mon, 13 Sep 1999 07:32:11 +0700
Message-ID: <37dd0b2b.0@news.cbn.net.id>


Hi,
can anybody help me ?

I want to :
select rownum, a
from sometable
order by a

where a :

5
3
6
2

The result I expected is :
1 2
2 3
3 5
4 6

Thanks in advance.... Received on Sun Sep 12 1999 - 19:32:11 CDT

Original text of this message

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