Oracle FAQ Your Portal to the Oracle Knowledge Grid
HOME | ASK QUESTION | ADD INFO | SEARCH | E-MAIL US
 

Home -> Community -> Mailing Lists -> Oracle-L -> RE: SQL Query

RE: SQL Query

From: Nelson, Allan <anelson_at_midf.com>
Date: Fri, 19 Sep 2003 08:29:43 -0800
Message-ID: <F001.005D0835.20030919082943@fatcity.com>


Assume your table is name fred:

select a.col1 a.col2 a.col3||b.col3||c.col3 from fred a, fred b, fred c;

Allan
-----Original Message-----
Sent: Friday, September 19, 2003 10:15 AM To: Multiple recipients of list ORACLE-L

Hi,

I have the following data in a table:

col1 col2 col3

1          2       A
1          2       B
1          2       C


I want to display this as :

col1 col2 col3

1 2 A B C

How can i do this?

Regards

Imran
--

Please see the official ORACLE-L FAQ: http://www.orafaq.net
--

Author: Imran Ashraf
  INET: imran9a_at_hotmail.com

Fat City Network Services    -- 858-538-5051 http://www.fatcity.com
San Diego, California        -- Mailing list and web hosting services
---------------------------------------------------------------------
To REMOVE yourself from this mailing list, send an E-Mail message to: ListGuru_at_fatcity.com (note EXACT spelling of 'ListGuru') and in the message BODY, include a line containing: UNSUB ORACLE-L (or the name of mailing list you want to be removed from). You may also send the HELP command for other information (like subscribing).

This email is intended solely for the person or entity to which it is addressed and may contain confidential and/or privileged information. Copying, forwarding or distributing this message by persons or entities other than the addressee is prohibited. If you have received this email in error, please contact the sender immediately and delete the material from any computer. This email may have been monitored for policy compliance. [021216]

--

Please see the official ORACLE-L FAQ: http://www.orafaq.net
--

Author: Nelson, Allan
  INET: anelson_at_midf.com

Fat City Network Services    -- 858-538-5051 http://www.fatcity.com
San Diego, California        -- Mailing list and web hosting services
---------------------------------------------------------------------
To REMOVE yourself from this mailing list, send an E-Mail message to: ListGuru_at_fatcity.com (note EXACT spelling of 'ListGuru') and in the message BODY, include a line containing: UNSUB ORACLE-L (or the name of mailing list you want to be removed from). You may also send the HELP command for other information (like subscribing). Received on Fri Sep 19 2003 - 11:29:43 CDT

Original text of this message

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