SELECT C.CommentID as CommentID, STUFF(( SELECT ',' + Sub.FirstName as [text()] FROM Consumer Sub Where Sub.CommentID = C.CommentID FOR XML PATH ('')),1,1,'') as FirstNames From Consumer C
var
This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)