We want to display multiple column value into the single column with comma separated value below is the my table data
Below is the SQL query i am trying:
select name, STUFF((SELECT '; ' + facilty FROM leads Name FOR XML PATH('')),1,2,'') as facilty, address from leads Query Result
Now when I execute the query in SQL Server, I want reuslt to be like:


