I'm having again a bit of trouble implementing the XML PATH method of concatenating multiple rows.
Given the following SQL Server temptable:
project | NAME | display_name
-----------+------------+-------------------
a Developer Amelia
a Developer Ruby
a Administrator Olivia
b User Isla
b Developer Emily
c User Poppy
c Administrator Ava
c Administrator James
The result should be:
project | NAME | display_name
-----------+----------------+----------------
a Developer Amelia, Ruby
Administrator Olivia
b User Isla
Developer Emily
c User Poppy
Administrator Ava,James
Is something like this even possible with XML PATH etc. ?