1,update table set col = (子查询)
2,update table set col = 值 from table1 inner join table on table1.col = table.col
where ...
这两个update的语法可以处理多表批量数据更新。作为笔记。
1,update table set col = (子查询)
2,update table set col = 值 from table1 inner join table on table1.col = table.col
where ...
这两个update的语法可以处理多表批量数据更新。作为笔记。