Hi,
Try with the below Query
SELECT t1.Sch_Date,t1.Session,t1.Course,
Faculty_Code =REPLACE( (SELECT Faculty_Code AS [data()]
FROM [tb_SchTime_Table] t2
WHERE t2.Sch_Date = t1.Sch_Date and t2.Course=t1.Course
FOR XML PATH('')
), ' ', ',')
FROM [tb_SchTime_Table] t1
GROUP BY Sch_Date,Course,Session ;
Best Regards
Muthuraja