Is it possible to combine multiple results into a single string in SQL Server?
I have the following table:
NameID Name
------ -----
1 Alvin
2 Alan
3 Ben
4 Tom
How can I select the table and return the select result as below:
Group
-----
Alvin, Alan, Ben and Tom