INSERT INTO [插入目标表名] SELECT 对应插入目标表的表结构字段 from 数据源表(可链接多表)
如
insert into [test] select '1','2','3','4','5'
test表结构为id(int),
field1(varchar(255)),
field2(varchar(255)),
field3(varchar(255)),
field4(varchar(255)),
field5(varchar(255))
INSERT INTO [插入目标表名] SELECT 对应插入目标表的表结构字段 from 数据源表(可链接多表)
如
insert into [test] select '1','2','3','4','5'
test表结构为id(int),
field1(varchar(255)),
field2(varchar(255)),
field3(varchar(255)),
field4(varchar(255)),
field5(varchar(255))