Reputation: 451
There are four fields with multiple rows. I wish to append these rows. Is there a way to do it?
Sample data:
Upvotes: 2
Views: 1688
Reputation: 172993
I see only two fields in your example
Below should work for them
SELECT
Name, GROUP_CONCAT(Nickname) AS Nicknames
FROM Yourtable
GROUP BY Name
Upvotes: 1