Answers for "update from another table in 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 from another table in mysql"

Code answers related to "SQL"

Browse Popular Code Answers by Language