1.同表某列数据需要修改
update opportunity o
inner join (select id from (select * from opportunity where creator not in (51,52,53,55) LIMIT 0, 610 ) a ) b
on o.id = b.id
set o.creator = 55
2.不同表
update table1 a
INNER JOIN table2 b
on a.id=b.aid
set a.name=b.name ,a.age=b.age
where b.age > 30