Yes, the error occurs at the end, unexpected end-of-statement.
This is a school assignment which I can't seem to solve, I am supposed to update the other table.
Any suggestions on how to get around this problem? I have to solve it by trigger.
Edit: sno is staff number, when a staff member gets another "work" (project), his salary will be increased by 2%. Salary is saved in Staff table.