Skip to content
Advertisement

set data from a table in itself

So, i have to migrate some data, the query is:

and i have to take those data but set “2020” I try with:

But i recive an error:

[Err] 1193 – Unknown system variable ‘ejr_id’

Any suggestion ?

Advertisement

Answer

If you are trying to update the data, use update:

If you want to insert new rows:

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