Question: a trigger so that after a new item is inserted into invoice_line_item table, the corresponding invoice in the invoices table should have its invoice_total value
a trigger so that after a new item is inserted into invoice_line_item table, the corresponding invoice in the invoices table should have its invoice_total value incremented with the newly inserted line item's line_item_amount. After defining the trigger, insert a new invoice_line_item for Invoice id 78. Test how the trigger impacts the corresponding invoice in invoices table.
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
