Answers for "update by select value from other table mysql"

SQL
0

mysql update table from select on another table

UPDATE TableB 
SET TableB.value = (
    SELECT TableA.value 
    FROM TableA
    WHERE TableA.name = TableB.name
);
Posted by: Guest on November-19-2019

Code answers related to "update by select value from other table mysql"

Code answers related to "SQL"

Browse Popular Code Answers by Language