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: SQL Too difficult for me do you know how?

Re: SQL Too difficult for me do you know how?

From: SSadineni <ssadineni_at_aol.com>
Date: 5 Mar 1999 06:23:53 GMT
Message-ID: <19990305012353.05066.00003275@ng-da1.aol.com>


Hi Eric,

Sybrand's code is partially correct as pointed out by pradan.

Try this code and see if you can get the correct solution.

delete from table x
where x.recordid <
(select max(recordid)
 from table y
 where y.clientid = x.clientid
 and y.addressid = x.addressid)

RBG Received on Fri Mar 05 1999 - 00:23:53 CST

Original text of this message

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