Skip to content
Advertisement

how may I concatenate the columns in this script in MySQL?

Below is a SQL query that i am using to concatenate columns in SQL Server. How may I concatenate the same in MySQL?

Advertisement

Answer

The equivalent function in MySQL is group_concat():

The default separate is a comma, so there is no need to explicitly provide it.

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