Answers for "what is trigger at Mysql Phpmyadmin"

SQL
0

Create Trigger in phpMyAdmin

delimiter $$
CREATE TRIGGER copy_pid AFTER INSERT on upload FOR EACH ROW 

BEGIN

INSERT INTO rating (uid,pid) VALUES (NEW.username,NEW.id);

END$$
delimiter ;
Posted by: Guest on May-23-2020
0

Create Trigger in phpMyAdmin

CREATE TRIGGER before_insert_money BEFORE INSERT ON money
FOR EACH ROW UPDATE accounts SET balance=10.0;
Posted by: Guest on May-23-2020

Code answers related to "SQL"

Browse Popular Code Answers by Language