Is there any way to concatenate the value in a field that matching with a comman field say userid.
For eg if this is the table,
UserID| Field1 | Field2
1 | aaa | zzz
1 | bbb | yyy
1 | ccc | xxx
i want it as a single row like--
UserID | Field1 | Field2
1 | aaa,bbb,ccc, | zzz,yyy,xxx
Thanks