update tableA a,tableB set a.column1=b.column2 where a.id=b.aId
mysql SQL https://blog.xqlee.com/article/744.html