Need to transform the rows into columns for the similar ID's in oracle
Posted
by Siva
on Stack Overflow
See other posts from Stack Overflow
or by Siva
Published on 2010-04-10T01:59:11Z
Indexed on
2010/04/10
2:03 UTC
Read the original article
Hit count: 303
Hi,
I need to transform the rows into columns for the similar ID's in oracle
e.g. The following is the result I will get if i query my database
Col1 Col2 Col3 1 ABC Yes 1 XYZ NO 2 ABC NO
I need to transform this into
Col1 Col2 Col3 Col4 Col5 1 ABC Yes XYZ No 2 ABC NO NULL NULL
Someone please help me in solving this issue
Thanks, Siv
© Stack Overflow or respective owner