Oracle FAQ | Your Portal to the Oracle Knowledge Grid |
![]() |
![]() |
Home -> Community -> Usenet -> c.d.o.misc -> Re: query returns no results
Hello Ryan,
try this one:
SELECT col1, col2, r2
FROM (SELECT col1, col2, rownum r2
FROM table1 WHERE rownum < 20 ORDER BY col1) r
Arne Received on Thu Jul 04 2002 - 09:01:25 CDT
![]() |
![]() |