MySQL – Can't update table in stored function/trigger because it is already used by statement which invoked this stored function/trigger (select)
I am new to MySQL and learning about trigger. I have 2 tables that I want : when a table (detail_transaction) has been inserted, a 'stock' field of another table (item) change. 'item' Table id name price stock 1 Item_A…