I'm trying to concatenate multiple rows of data into one row based off of another column's ordered value
Here's the data that I'm working with:
Here's the desired output:
37960 BRAKES GENERAL REPAIRS ADDITIONAL REPAIRS
I'm working in SSMS V14.0 Thanks!
FOR XML PATH
. If using SQL-SERVER 2017 or later thenSTRING_AGG
.