mysql update子查询 mysql不支持update A set xx=xx from …这种形式, 可以换一种方式使用 update A Inner join B on A.id = B.id set A.xx = B.xx where A.id = B.id