SQL - Triggers
Given this trigger snippet for audit logging:
What will be inserted into
CREATE TRIGGER audit_update AFTER UPDATE ON products FOR EACH ROW BEGIN INSERT INTO audit_log (product_id, old_price, new_price) VALUES (OLD.id, OLD.price, NEW.price); END;
What will be inserted into
audit_log when a product's price changes from 100 to 120?