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!

Pivot column into row

848002Jul 16 2014 — edited Jul 16 2014

Hello All,

Having an hard time trying to make a pivot in SQL.

E.G. :

labelvalue_textvalue_dateid
Po #345NULL112
Po #123456NULL120
Po #935131NULL134

So I would like to have the label section as a column name and put the value_text under the appropriate column but want to keep the ID in order to make a table with my view and join it to another table on a sql request.

Is that possible ?

Regards,

Eric

Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Aug 13 2014
Added on Jul 16 2014
4 comments
228 views