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: ROWNUM comparisons using < vs >

Re: ROWNUM comparisons using < vs >

From: Rrueb <rrueb_at_aol.com>
Date: 22 Jan 1999 05:41:48 GMT
Message-ID: <19990122004148.18974.00000769@ng15.aol.com>


Alright, so now you know why you can't do it... there is a way to do it:
create a view with your desired conditions (except rownum) and your desired output columns plus rownum renamed to rowcount. now select from the view with the desired > condition on rowcount.

This is also how you can select N of M conditions.

Ray Received on Thu Jan 21 1999 - 23:41:48 CST

Original text of this message

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