📌  相关文章
📜  mysql update table from select on another table - SQL 代码示例

📅  最后修改于: 2022-03-11 15:05:33.004000             🧑  作者: Mango

代码示例1
UPDATE TableB 
SET TableB.value = (
    SELECT TableA.value 
    FROM TableA
    WHERE TableA.name = TableB.name
);