I'm relatively new with mssql. I would like to know whether there is any way to display the results from a subquery as a multiline Column.
For Example:
Select a.SectionID,
ListOfEmployees = (Select b.Name From Employees b Where b.SectionId = a.SectionId)
From Sections a
I dont know if somthing like this is possible.
For Example:
Select a.SectionID,
ListOfEmployees = (Select b.Name From Employees b Where b.SectionId = a.SectionId)
From Sections a
I dont know if somthing like this is possible.
Comment