我有这两个表分别有映射。
composer update
现在我需要另一张桌子,我根据价格总和将这些类型的食物装进去
所以
Food | Price
=====================
Apple | 6
Broccoli | 2
Orange | 4
Mangoes | 4
Spinach | 3
Chicken | 9
Pork | 3
Type | Food
=====================
Vegetable | Broccoli
Vegetable | Spinach
Fruit | Apple
Fruit | Mango
Fruit | Orange
Meat | Chicken
Meat | Pork
我该怎么做?