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 without using Pivot...

NapsterSep 15 2013 — edited Sep 16 2013

Hi Guys,

Need help with a query... I think pivot table is the way to go but don't wanna to use it as it is not supported in Oracle 10g.

Sample data set...

PartSection
A001AC
A001AY
A001AN
A001AX
A015AC
A015AR
A007AC
A008AN
A008AX
A008AE
A008AT
A008AY

Required output... (Please note that I cannot hard code the Section column as the data is dynamic)

PartACAYANAXARAEAT
A001YYYY
A015Y Y
A007Y
A008 YYY YY

Can you help me out with this without using pivot tables?

Thanks,

Napster

Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Oct 14 2013
Added on Sep 15 2013
3 comments
319 views