There are tables: Product and Implementation. Here is a chart I want to make a trigger to change the value in the Quantity field in the table. Implementation. After the change, the trigger should multiply the "Price Purchase" by the value in the "Quantity" of the Implementation table and insert the resulting value into the "Sales Amount". I have thought of this option so far: create trigger planSALE after update on Number for each row begin update Implementation_ set SumSales = Quantity * PricePurchase; end; That's just sql immediately swears after

  • CREATE TRIGGER - Alexander Petrov
  • one
    Overridden data. In most cases (including this) - bad practice. - Akina

0