I have this thing I don't know how to solve.
TABLE 1: ITEMS
ID | NO_
1 | SX1234
2 | SXABCD
TABLE 2: Text
Reffilename | RefKey | LanguageCode | ID | LineNumber | Txt1
Product | SX1234 | ENU | 2 | 0 | This is
Product | SX1234 | ENU | 2 | 1 | my text
Product | SX1234 | ENU | 2 | 2 | I want to come
Product | SX1234 | ENU | 2 | 3 | out in one field
....
I can do this
SELECT i.[No]_, t.[Txt1]
FROM ITEMS AS i
INNER JOIN
TEXT AS t ON i.[no_] = t.RefKey
WHERE t.Reffilename = 'Prouduct' AND t.LanguageCode = 'ENU' AND t.ID = 2 AND i.[No_] = 'SX1234'
Thats give me this result.
SXI1234 | This is
SXI1234 | my text
SXI1234 | I want to come
SXI1234 | out in one field
But I want to merge the text, so my output will come:
SXI1234 | This is my text I Want to come out in one field
How do i solve this?