This code doesn’t work on mysql:
update member
set member.xy = memba.surba
from memba
where member.id =memba.id
The code below0 works:
update member inner join memba on member.id =memba.id
set member.xy = memba.surba
Could you please explain what’s wrong with the first code?
Multiple-table syntax:
It would seem that you have a FROM clause that is not part of the update statement in MySQL.
See here: http://dev.mysql.com/doc/refman/5.0/en/update.html