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: difficult? sql statement

Re: difficult? sql statement

From: Rodney L. Barrett <rbarrett_at_solutionpt.com>
Date: 1998/01/12
Message-ID: <69e2ju$p1e@apple.telalink.net>#1/1

this works but it's ugly.

update b set data = (select data from
 a where a.partno = b.partno and rownum =1 and weight = (select max(weight) from a where a.partno = b.partno))

rbarrett_at_solutionpt.com
Oracle DBA Received on Mon Jan 12 1998 - 00:00:00 CST

Original text of this message

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