1SELECT
2 SS.SEC_NAME,
3 STUFF((SELECT '; ' + US.USR_NAME
4 FROM USRS US
5 WHERE US.SEC_ID = SS.SEC_ID
6 ORDER BY USR_NAME
7 FOR XML PATH('')), 1, 1, '') [SECTORS/USERS]
8FROM SALES_SECTORS SS
9GROUP BY SS.SEC_ID, SS.SEC_NAME
10ORDER BY 1