两个表间数据操作

table1

table2

①假如把table1中的某个字段或多个字段复制到table2中

Insert into Table2(field1,field2,...) select value1,value2,... from Table1

②假如把table1中所有字段都复制到table2中

SELECT vale1, value2 into Table2 from Table1

猜你喜欢

转载自peryou.iteye.com/blog/1915803