Mysql – Trigger to move table data when updated
CREATE TABLE wishlist( year YEAR NOT NULL, ssn CHAR(14), delivered BIT, PRIMARY KEY (year, ssn), FOREIGN KEY (ssn) REFERENCES child (child_ssn) ) engine=innodb; CREATE TABLE wishlistDelivered( year YEAR NOT NULL, ssn CHAR(14), delivered BIT, PRIMARY KEY (year, ssn), FOREIGN KEY…