Skip to Main Content

SQL & PL/SQL

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

SQL query to generate Column1.Column2 format

728361May 30 2016 — edited May 30 2016

Hi,

I am new to SQL and looking for a query which can generate data in column1.column2 format (parent.child).

For example: I have a table:

Parent          Child

A                    B

A                    C

B                    D

C                    E

I want the output as follows basically in Parent.Child format as shown below:

Parent          Child

A                    A.B

A                    A.C

A.B                 B.D

A.C                 C.E

Please suggest how this can be achieved.

Thanks.

Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Jun 27 2016
Added on May 30 2016
9 comments
584 views