Statement Level Trigger
CREATE TRIGGER average-price-preserve
INSTEAD OF UPDATE OF price ON Product
OLD_TABLE AS OldStuff (the old versions of the tuples)
NEW_TABLE AS NewStuff (the new versions)
FROM ((Product EXCEPT OldStuff) UNION NewStuff))
WHERE (name, price, company) IN OldStuff;