Sololearn: Learn to Code
New course! Every coder should learn Generative AI!
Try a free lesson
0
CREATE TRIGGER ins_sum BEFORE INSERT ON account FOR EACH ROW SET @sum = @sum + NEW.amount; Query OK, 0 rows affected (0.01 sec) https://dev.mysql.com/doc/refman/8.0/en/trigger-syntax.html
23rd Sep 2018, 3:59 AM
M4h0g 42
M4h0g 42 - avatar