Skip to content
Advertisement

SQL concatenate – INSERT MANY VALUES TO ONE ROW

I’m currently trying to add 3 rows in to 1 row so that the information is separated by a ‘,’like using a concatenation. However, I’m new to this and any help will be useful. Below is my current code and what I have tried.

This code below does not work:

I have also tried this code below, which inserted the rows but not in the format I want:

Which displayed:

I would need it to display in this format below for example:

Advertisement

Answer

Concatenation it is.

User contributions licensed under: CC BY-SA
4 People found this is helpful
Advertisement