I've already, searched and read, many answers about this issue , but couldn't get a clear answer on how to do this.
My query is the following:
DELIMITER // CREATE TRIGGER `Stock_Update` AFTER INSERT ON `Store_db`.`Product_Supply` FOR EACH ROW BEGIN UPDATE `Store_db`.`Stock` AS `ST` SET `ST`.`Stock_Quantity` = `ST`.`Stock_Quantity` + `Product_Supply`.`Supply_Quantity` WHERE `ST`.`Product_ID` = `Product_Supply`.`Product_ID`; END// DELIMITER ; Thanks In Advance.
P.S. A More Generic Answer would be nice too and might be helpful for others as well