Answer the question
In order to leave comments, you need to log in
How to create a trigger?
Help to create a trigger
Task - there are requests like: (reserve always increases, id is different)
UPDATE `currency` SET `reserve` = '100' WHERE `id` = 5;
UPDATE `currency` SET `reserve` = `reserve`+(NEW.reserve-OLD.reserve) WHERE `id` = 9;
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question