Concatenate values of field depending on text selection Oracle SQL
问题 I have a table a_x with the columns A and B, column A is in CLOB format, column B number(10): A | B -----------------------------|------- atveroeosipsumloremipsumdolor| 1 stetclitakasdtest | 2 noseatakimataatveroeosipsum | 3 loremipsumdolor | 4 consetetursadipscingelitr | 5 I would like to produce this table, in order to find out, which ID goes with certain substrings: A | IDs -----------------------------|------- atveroeosipsum | 1,3 test | 2 stetclitakasd | 2 noseatakimata | 3