SQL error - trigger/function may not see it
问题 I was working on my project, here I got this error while inserting some values in a row: ERROR at line 1: ORA-04091: table SYSTEM.PRODUCTS is mutating, trigger/function may not see it ORA-06512: at "SYSTEM.PROD_TOTAL", line 2 ORA-04088: error during execution of trigger 'SYSTEM.PROD_TOTAL' This is my insert statement: insert into products values (1, 1001, 'Medical', 20, 4, 1, 1, 1); Products table : create table Products ( ProdId number primary key, ProdNum number not null unique, ProdType