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: Data with Max Qty and Date ?

Re: Data with Max Qty and Date ?

From: Ashwin <ashwinkumar_at_engineer.com>
Date: 11 Aug 2004 22:53:04 -0700
Message-ID: <578a0eb4.0408112153.24b3339d@posting.google.com>


this also works,

select * from mtran where
(itemid,qty) in (select itemid,max(qty) from mtran group by itemid) Received on Thu Aug 12 2004 - 00:53:04 CDT

Original text of this message

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