I am searching for a GROUP_CONCAT
equivalent function in SQL Server and I found this two options which are CROSS APPLY and STUFF. Because I want to concatenate
the day of the sday
field in the schedule table using join. Here is my schema for the database, please refer to the photo below. So what is the better approach to this one?
I tried STUFF
function like so and I get the record duplicated: