I have a table with many columns in which I would like to merge all the text in columns into the first one. Like this
ID | A | B | C | etc |
---|---|---|---|---|
1 | aa | bb | cc | |
2 | ai | ao | au |
into
ID | A | B | C | etc |
---|---|---|---|---|
1 | aa,bb,cc | |||
2 | ai,ao,au |
The problem is the amount of columns, since I can't write their name one by one.
Can you help me?
Thanks a lot!