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 -> Second highest value

Second highest value

From: <raorg_at_my-deja.com>
Date: Fri, 06 Aug 1999 19:35:07 GMT
Message-ID: <7ofdda$m8j$1@nnrp1.deja.com>


Hi all,
I have a view:
dealid,
customerid,
accountid,
invoicedate,
invoicenum,

For group of dealid, customerid, accountid, How can I get the max invoicedate and the second highest invoice date value. preferably in one query, but two will definitely help.

Thanks,
Rajesh.

Sent via Deja.com http://www.deja.com/
Share what you know. Learn what you don't. Received on Fri Aug 06 1999 - 14:35:07 CDT

Original text of this message

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