Hi I'm trying to create a trigger
the trigger avant will be to update the worker union number.
my table looks like this -
worker(id,salary,union )
I wont the trigger to take action after I will update a worker salary.
I did this but it don't work
HELP Plz..
CREATE OR REPLACE TRIGGER update_status AFTER UPDATE on worker of salary
FOR EACH ROW
BEGIN
update worker set union = 9;
END update_status;