Hi All,
I want following o/p in oracle & sql server
a table contains data as given
name exam marks
-------- -------- -----------
Test Phy 30
Test Chm 40
Test Eng 50
XYZ Eng 50
XYZ Mat 11
XYZ SS 10
XYZ Phy 40
Final O/p ->
Name Sub1 mark1 sub2 mark2 sub3 mark3 sub4 mark4
-------- -------- -------- --------- -------- ------- --------- -------- --------
Test Phy 30 Chm 40 Eng 50
XYZ Eng 50 Mat 11 SS 10 Phy 40
pls send me query