Oracle FAQ | Your Portal to the Oracle Knowledge Grid |
Home -> Community -> Usenet -> c.d.o.tools -> Simple Query Help
What is wrong with this query?
select * from (select a from tablename where b = 1 order by ts desc) where rownum < 100
I get a ORA-0097: missing right parenthesis.
This works just fine however (but not what i want)
select * from (select a from tablename where b = 1) where rownum < 100
Is there an easier way or a work around?
--- Gabriel Millerd | Let them hate, so long as they fear. -Lucius Sith Admin | Accius, Fragment http://sabbat.org |Received on Thu May 25 2000 - 00:00:00 CDT