Oracle FAQ | Your Portal to the Oracle Knowledge Grid |
Home -> Community -> Usenet -> c.d.o.misc -> Row number base on sorting order?
Hi,
I have these data :
col_a
row_no col_a
------ -----
1 A 2 B 3 C 4 D 5 E 6 F 2. I want to retrieve the first 4 rows in the order of col_a, resultlooks like this :
col_a
ROWNUM doesn't help in these cases, as it was assigned before ordering.
Any help ?? TIA !!!
-----------== Posted via Deja News, The Discussion Network ==----------
http://www.dejanews.com/ Search, Read, Discuss, or Start Your Own
Received on Tue May 04 1999 - 22:56:24 CDT