Oracle FAQ | Your Portal to the Oracle Knowledge Grid |
![]() |
![]() |
Home -> Community -> Usenet -> c.d.o.misc -> Re: newbie question about rownum
>Err...can you have an "order by" in a subquery? I think not
Ehhh, no, of course not. Hmmm, would anyone believe that the internet has changed the group by into an order by ? :-)
So, in the sub query use the group by instead of the order by, just like Frank suggested...
Thanks for being very awake,
Arjan.
>> >Create a view of your sql statement, you cant use Order By in a view,
but
>> you
>> >can GROUP BY <name> and it will do an order by.
>> You may do the same, without actually defining a view, using a subquery:
Received on Fri Aug 28 1998 - 16:30:39 CDT
![]() |
![]() |