用第二个 table 中的值替换 mySQL table 中的列值

Replace column values in mySQL table with values from a second table

我正在尝试这样做,但在 mySQL 上出现错误:

update ONE set (ONE.Names=TWO.New_Names)
from ONE 
join TWO on (ONE.Names=TWO.Old_Names);
update ONE 
join TWO on ONE.Names = TWO.Old_Names
set ONE.Names = TWO.New_Names

查看更新查询:

update one o
  join two t on ( o.names = t.old_names )
   set O.names = t.new_names;

连接子句必须写在查询的开头=> http://sqlfiddle.com/#!9/9f292c