Skip to content
Advertisement

Updating salary on employees for each full year they have been working [closed]

I have to do what i say in the title. I have to update the salary on employees for each full year they have been working. I’m using the HR schema, so you can try it. The code I have right now is like that:

This code isn’s working yet, what more should I do? Also, I don’t know how to say that the salary must multiply more times. Thanks in advance!

Advertisement

Answer

INTO can not be used with the UPDATE statement.

You can use the following code:

Cheers!!

User contributions licensed under: CC BY-SA
10 People found this is helpful
Advertisement