Oracle FAQ | Your Portal to the Oracle Knowledge Grid |
![]() |
![]() |
Home -> Community -> Usenet -> c.d.o.misc -> Order by in a subquery
Hello everyone,
I have a problem with a query which looks like below
SELECT r_num, T.Field1, T.Fiel2
FROM (
SELECT rownum as r_num, Field1,Field2 FROM table1 order by field1
I have a problem with the 'Order by' clause, but I need to sort the records in the subquery.
So if anyone could help, it would be wonderful
Thanks a lot
Bob Received on Fri Feb 27 2004 - 04:24:37 CST
![]() |
![]() |