Concatenate Data from Multiple Rows into One Field in MySQL

Group_CONCAT()  Function is used to concatenate data from multiple rows into one field.



Have a look at the below example:

Let us have a table say, Employee, here Emp_id, Name, Skill are column names.

 

Let’s run this query

 



Output: