This is my first question here, well to the point, for the class of Databases II I need to create a trigger in MySQL that when inserting data in the student table the table of student support is also updated, I know it can be a Maybe it's very X question but I would appreciate your help:
CREATE TRRIGER alumupdate AFTER UPDATE ON alumno UPDATE respaldo_alumno SET nombre=UPDATE.NOMBRE,direccion=UPDATE.DIRECCION,codigo=UPDATE.CODIGO WHERE codigo=alumno.codigo
This is the code of my trigger, if you can guide me or tell me that I have to correct it, I would appreciate it