Posts by robert • 3 points
1 post
-
0
votes1
answer51
viewsQ: Set age from date of birth in another table
I’m trying to create a Trigger to set the table age attribute funcionario: ```sql CREATE TABLE IF NOT EXISTS `funcionario`( `cpf_funcionario` INT(11) NOT NULL, `idade` SMALLINT(10) DEFAULT NULL,…