mysql做法:
UPDATE table A
LEFT JOIN
table B
ON
A.B_ID = B.B_ID
SET
A.A_NAME = B.B_NAME;
SQLServer做法:
update A
set A_NAME = B.B_NAME
from table A left join table B
ON
A.B_ID = B.B_ID
相关文章
- sql语句中left join、inner join中的on与where的区别
- left join中where与on的区别
- mysql left( right ) join使用on 与where 筛选的差异
- 解析sql语句中left_join、inner_join中的on与where的区别
- 转!!left join on and 与 left join on where的区别
- SQL中 Left Join 与 Right Join 与 Inner Join 与 Full Join的区别
- MySQL表LEFT JOIN左连接与RIGHT JOIN右连接的实例教程
- 解析mysql left( right ) join使用on与where筛选的差异
- MySQL与Oracle的语法区别详细对比
- MySQL中left join on后面的条件和where后面的条件的区别