I have two tables : DISH and DISH_HAS_DISHES. Dish table has all the dishes and \"Dish_has_dishes\" table has a one-to-many relationship with \"Dish\" table. I.e. a dish can
SELEct m.meal_Id,
GROUP_CONCAT(dish_id) dish_ids,
GROUP_CONCAT(dish_name) dish_names
FROM DISH_HAS_DISHES m JOIN DISH d ON (m.dish_id = d.dish_id)
GROUP BY meal_Id