:hehe:HI
I want to convert rows to column, through SQL and I do not want to use any functions. I am using DB2 8.2 V
My query is:
ID NAME BRANCH AMOUNT
________________________________________
1 JOHN NY 10000
1 JOHN NY 20000
1 JOHN NY 10000
2 PETER CA 50000
2 PETER CA 40000
Result should display like this:
ID NAME BRANCH AMOUNT
1 JOHN NY 10000,20000,10000
2 PETER CA 50000,40000
Hoping for early response
Cheers