日期:2014-05-18  浏览次数:20369 次

这条语句如何写
将A表中的a列内容插入到B表中的b列,如何写这条sql语句

------解决方案--------------------
通过什么来关联啊
一般是update b set column1=b.column1 from b bwhere column2=b.column2
------解决方案--------------------
一般是update a set column1=b.column1 from b bwhere column2=b.column2
------解决方案--------------------
insert B(b) select a from A
------解决方案--------------------
insert into B(b) select a from A