📜  使用 join sql server 更新 - SQL 代码示例

📅  最后修改于: 2022-03-11 15:05:20.479000             🧑  作者: Mango

代码示例3
UPDATE
        first_table ft
        JOIN second_table st ON st.some_id = ft.some_id
        JOIN third_table tt  ON tt.some_id = st.some_id
        .....
    SET
        ft.some_column = some_value
    WHERE ft.some_column = 123456 AND st.some_column = 123456