Hi,
I want to concatenate values from multiple rows into a single column in SAP HANA. Can someone please help me how this can be achieved?
I don’t want to use Cursor.
Input Table:
Product No. | Customer No. | Stor_ Name |
101 | 10 | Store1 |
101 | 10 | Store2 |
101 | 10 | Store3 |
102 | 10 | Store1 |
102 | 10 | Store3 |
Output Table
Product No. | Customer No. | Store_Name_Concat |
101 | 10 | Store1, Store2, Store3 |
102 | 10 | Store1,Store3 |
Thanks,
Vishnu