SELECT STUFF((select ','+Gdmc from TDSWD.dbo.DJtzrgc where Nsrsbh='130912774428772' for XML path('')),1,1,'') AS a