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: SQL:Getting the 'Nth' records from a table..

Re: SQL:Getting the 'Nth' records from a table..

From: John Chiu <johnc_at_relsol.com>
Date: Mon, 27 Sep 1999 14:38:53 -0400
Message-ID: <7sod9m$1et$1@newsmaster.pathcom.com>


Try this

create table tc (k1 number);

 select k1 from (select b.k1, mod(rownum,5) rema from tc b) where rema = 0;

John Chiu Received on Mon Sep 27 1999 - 13:38:53 CDT

Original text of this message

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