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

String concatenation in group by?

From: Tao <gordon.t.wu_at_gmail.com>
Date: 1 May 2007 07:16:23 -0700
Message-ID: <1178028983.392635.62470@n59g2000hsh.googlegroups.com>


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. Received on Tue May 01 2007 - 09:16:23 CDT

Original text of this message

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