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 -> Select greatest value for account number

Select greatest value for account number

From: Craig Alexander <craig_at_itas.net>
Date: Fri, 11 Feb 2000 15:08:03 GMT
Message-ID: <nBVo4.279$_Z3.17466@sapphire.mtt.net>


I have a scenario where an account number has multiple dollar amounts associated with it. What I want to do is select the largest amount associated with the account number.
.
Here is what the table looks like

Acct_No Amount

1                20
1                21
1                45
2                5
2                7
2                67

For Acct_No '2' I would like to bring back the Amount of '67' etc.

I'm relatively new to this and appreciate any help

Thanks
Craig

--


Craig Alexander
Island Tel Advanced Solutions Received on Fri Feb 11 2000 - 09:08:03 CST

Original text of this message

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