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

Home -> Community -> Usenet -> c.d.o.misc -> Re: Selecting every other code.... why wont THIS work?

Re: Selecting every other code.... why wont THIS work?

From: Daniel Roy <danielroy10_at_hotmail.com>
Date: 3 Feb 2003 07:57:48 -0800
Message-ID: <1b061893.0302030757.ddfff41@posting.google.com>


Try:

SELECT i.testtime, MOD(i.myrownum,2) FROM (select testtime, rownum myrownum from testdata) i where MOD(i.myrownum,2) = 1;

Daniel Received on Mon Feb 03 2003 - 09:57:48 CST

Original text of this message

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