Trigger multiply from two tables
问题 i need to create a trigger that multiply two fields from two tables, but i have no idea of how to do it, so let's see if you can help me. Two tables, Products (product_name, price) Orders (product_name (foreign key),units_ordered) I need to add another field on table the Orders that multiply price from Products and units_ordered from Orders, so : total_price = price (from products) X units_ordered (from Orders) Thanks in advance, and sorry for my bad english. Regards 回答1: You don't need