Answers for "using select in update statement"

SQL
0

update select sql

--the simplest way of doing this 
UPDATE
    table_to_update,
    table_info
SET
    table_to_update.col1 = table_info.col1,
    table_to_update.col2 = table_info.col2

WHERE
    table_to_update.ID = table_info.ID
Posted by: Guest on June-16-2021

Code answers related to "using select in update statement"

Code answers related to "SQL"

Browse Popular Code Answers by Language