|
How do I convert rows in oracle table to columns by writing a query? Here is my table.
EID QNo Qual YOP 101 1 B.Tech 2004 101 2 M.Tech 2006 102 1 B.Tech 2003 102 2 M.Tech 2005 102 3 MBA 2007
Now I want the above table in the following format......
EID Qual1 YOP1 Qual2 Yop2 Qual3 Yop3 101 B. Tech 2004 M.Tech 2006 102 B. Tech 2003 M.Tech 2005 MBA 2007
I have maximum of 8 Qualifications, please let me know how to achieve this in oracle.
Thanks in advance.
|