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!

If select query fetches 2 records with 3 columns. I want to make a query which will give output in o

2999661Jul 27 2015 — edited Jul 27 2015

For example.

My Table gives following records.

ServiceSubServiceAddresss
11_AAAASD
11_BBBRTY
22_RRRTYT
22_YYYGHN

For each main service I want both the SubService and Address on the same row.

Output expected

ServiceSubservice1Address1SubService2Address2
11_AAAASD1_BBBRTY
21_BBBTYT2_YYYGHN

Please help

Comments

Locked Post
New comments cannot be posted to this locked post.

Post Details

Locked on Aug 24 2015
Added on Jul 27 2015
1 comment
386 views