I have table like this:
ID Name
--------------
1 Ritesh
1 Raj
1 Suraj
2 John
2 Sanjay
2 Max
3 Dinesh
3 Dheeraj
I want to join the column values of column Name using column ID having same values of Id
The output should be in a new table with a single column:
NewColumn
------------------
Ritesh,Raj,Suraj
John,Sanjay,Max
Dinesh,Dheeraj
The first three names have same id as 1 and same as for id 2 and 3
Any help?