trigger example

CREATE OR REPLACE TRIGGER trg_emp_insertAFTER INSERT ON empFOR EACH ROWBEGIN— Insert into audit tableINSERT INTO emp (emp_id, emp_name,salary)VALUES (:NEW.emp_name,:NEW.salary,:NEW.emp_id); — Display messageDBMS_OUTPUT.PUT_LINE(‘Employee inserted successfully.’); END; insert into emp(emp_name,salary,emp_id)values(‘rohan’,3000,3);select * from…