ordersとproductsをJOINして、各注文の合計金額(quantity * price)を取得してください。 カラム: orders.id, total_amount
orders, products
JOIN