📅  最后修改于: 2022-03-11 15:05:26.932000             🧑  作者: Mango
--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