PostgreSQL - Triggers in PostgreSQL
You wrote this AFTER INSERT trigger:
But it gives an error. What is the likely cause?
CREATE TRIGGER trg_after_insert AFTER INSERT ON sales EXECUTE FUNCTION log_sale();
But it gives an error. What is the likely cause?
