sql查询出来的一列多行数据拼接起来
select distinct stuff((select ','+QuestionCategoryName from QuestionCategory t where QuestionCategoryID in (select QuestionCategoryID from QuestionCategoryRelation where QuestionID=p.QuestionID)