Edited: In SQL, I’m joining a table with a text column to a separate table (the latter not depicted in my example below). I would like to display the text from each row concatenated as a single column in a row. Using a separate column (Line), I’d like to use to determine the order in which the text is concatenated.
Col Line Text
a 1 This
a 4 sentence
a 3 a
a 2 is
Output in a single column/row:
This is a sentence
ORDER BY Lineto display the rows in the desired order, but it will take programming to concatenate the values ofStrinto a string.