update base on select (Sql Server)

Posted 天藐水瓶

tags:

篇首语:本文由小常识网(cha138.com)小编为大家整理,主要介绍了update base on select (Sql Server)相关的知识,希望对你有一定的参考价值。

UPDATE
    Table_A
SET
    Table_A.col1 = Table_B.col1,
    Table_A.col2 = Table_B.col2
FROM
    Some_Table AS Table_A
    INNER JOIN Other_Table AS Table_B
        ON Table_A.id = Table_B.id
WHERE
    Table_A.col3 = ‘cool‘

以上是关于update base on select (Sql Server)的主要内容,如果未能解决你的问题,请参考以下文章

sq 语句

LR中select next row和update value on的设置

转-LR中select next row和update value on的设置

Select rows from a DataFrame based on values in a column in pandas

QTreeView Item Hover/Selected background color based on current color

EOJ Monthly 2019.2 (based on February Selection) D.进制转换