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: String concatenation in group by?

Re: String concatenation in group by?

From: William Robertson <williamr2019_at_googlemail.com>
Date: 2 May 2007 02:02:02 -0700
Message-ID: <1178096522.334046.97340@p77g2000hsh.googlegroups.com>


On May 1, 3:16 pm, Tao <gordon.t..._at_gmail.com> wrote:
> Hi,
>
> I'm wondering if its possible to perform concatenation of strings in
> "group by". I'm still using Oracle 9.2, so I cannot take advantage
> 10g's new "collect" aggregrate function.
>
> Here is an example table, tab_example:
>
> ID Name
> --- -----------
> 1 Hello
> 1 World
>
> My desired query result:
> ID Concatenated_Name
> --- ------------------------------
> 1 Hello World
>
> Thanks a lot.

http://www.williamrobertson.net/documents/one_row.html Received on Wed May 02 2007 - 04:02:02 CDT

Original text of this message

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