insert into a select * from b
解决方案 »
- 这个动态交叉表怎么弄
- 帮忙看下这条语句对不?
- 想学习下SLQ,请问各位大虾
- 这个SQL该怎么优化写
- nvarchar 和 int 比较
- 附加数据库时: 错误5180:由于文件ID3(位于数据库'newlsb'中)无效,所以未能打开fcb
- 如何用MDF和LDF两个文件恢复到一个指定的时间点
- SQL中怎么判断C:有个名为a1.txt?以及如何访问控制(覆盖,追加)这个文本。
- 用存储过程实现一个txt文件导入数据库表,主要问题是txt里的数据跟表结构不一致的。
- VFP的计算字段怎么自动完成?用量=本次-上次,让用量根据 本次,上次的数据自动填充
- 请教:SQL200 多表查询问题
- 很着急,在线的朋友看看,我找不到那个帖子了。
update a set a.col2 = b.col2
from table1 a
join table2 b on a.col1 = b.col1
update a set a.col2 = b.col2
from table1 a
join table2 b on a.col1 = b.col1
update table1 set col2 = table2.col2 from table2 where table2.col1 = table1.col1