Possible Duplicate:
Simulating group_concat MySQL function in MS SQL Server 2005?
My query looks like this:
select analyst, issuer, coveragegroup
from analystcoverage
There can be multiple analysts for a particular issuer. When this is the case, I want to concatenate their names in a single record.
I want these two records:
John Doe      Walmart      Fixed Income
Bill Jones    Walmart      Fixed Income
to be returned as:
John Doe; Bill Jones      Walmart      Fixed Income
 
     
    