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: Update from a subquery

Re: Update from a subquery

From: Wario <r0cky_at_insightbb.com>
Date: 26 Aug 2004 11:24:21 -0700
Message-ID: <9204a53e.0408261024.10505e24@posting.google.com>


Try this:

    update X
    set (B, C) =
    (select min(E), min(F) from Y where x.a = y.d group by D)

The where clause should be part of the subquery. Received on Thu Aug 26 2004 - 13:24:21 CDT

Original text of this message

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