Oracle FAQ Your Portal to the Oracle Knowledge Grid
HOME | ASK QUESTION | ADD INFO | SEARCH | E-MAIL US
 

Home -> Community -> Usenet -> c.d.o.server -> Re: How to select a range of records by rownum?

Re: How to select a range of records by rownum?

From: Louis Blanchard <blanchl_at_ruf.rice.edu>
Date: 1997/04/07
Message-ID: <33497BEF.7E9A@ruf.rice.edu>#1/1

Hi Pao Wan,

  Please try the following:

     select rownum, ...
     from table_name 
     where rownum < 100
     group by rownum
     having rownum > 40 
     /

   Hope this helps, I find
   the KISS method works best.

      Louis Received on Mon Apr 07 1997 - 00:00:00 CDT

Original text of this message

HOME | ASK QUESTION | ADD INFO | SEARCH | E-MAIL US