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: QUERY WRITING

Re: QUERY WRITING

From: Alan <not.me_at_rcn.com>
Date: Fri, 26 Nov 2004 18:26:39 -0500
Message-ID: <30psduF33lhabU1@uni-berlin.de>

"Mladen Gogala" <gogala_at_sbcglobal.net> wrote in message news:pan.2004.11.26.08.20.33.91600_at_sbcglobal.net...
> On Thu, 25 Nov 2004 11:25:58 -0800, Segun wrote:
>
> >
> > Can someone please help generate a code to produce an output as shown
below
>
> of course: TRUNCATE TABLE will give you the expected results.
> If your table is called MYTABLE you should execute the following:
> TRUNCATE TABLE MYTABLE;
> AS SELECT PRODUCT, ENGLANd+GERMANY+FRANCE+USA
> /
>
> Don't forget the semicolon at the end of the 1st line or the
> statement will not work. You don't have to thank me.
>
> --
> Artificial Intelligence is no match for natural stupidity.
>

That is one of the most elegant solutions I've ever seen! One minor thingthe  "d" in ENGLANd should be uppercase, just for consistency. Thanks! Perhaps others asking this question will adopt this solution as well. Good job! Received on Fri Nov 26 2004 - 17:26:39 CST

Original text of this message

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