I have sample data in database with multiple different name,date and menu... I need to proceed data with the same name and date, but each data has a different menu...
DATABASE

the problem is that I need to store all the menu from the same name and date as a new variable since I need to call it for table view in web, and the table need to be look like this :
TABLE

I already using array to store the data menu for each same name and date, so the menu come out like this :

I'm really confused at how to continue make approach after this part,
How do I get output --> Candy Cake Cheese , so I can call it in table (?)
I think I can't seem to just use concat_ws in my query, since the values are from the same field of array, or is there another solution so I can get the output table I need ?? Thanks :)