I need a SQL statement to take data that would normally look like this
in a result set (SELECT ID, Name FROM Employee):
ID Name
-- -------
1 Aaron
2 Mike
3 Eric
To look like this, in one row and column with commas separating each
Name:
Names
-------------------
Aaron, Mike, Eric
Any examples of how this might be accomplished? Thanks.
in a result set (SELECT ID, Name FROM Employee):
ID Name
-- -------
1 Aaron
2 Mike
3 Eric
To look like this, in one row and column with commas separating each
Name:
Names
-------------------
Aaron, Mike, Eric
Any examples of how this might be accomplished? Thanks.
Comment