(1)
insert into table_1
(table_1.column1,table_1.column2,table_1.column3,table_1.column4)
select 1,2,table_2.column3,'系统信息' from table_2
解析:在需要向table_1中插入记录时,需要利用table_2中的table_2.column3字段,可以利用上述SQL.执行结果为向table_1中插入table_2中的记录数条记录。
insert into table_1
(table_1.column1,table_1.column2,table_1.column3,table_1.column4)
select 1,2,table_2.column3,'系统信息' from table_2
解析:在需要向table_1中插入记录时,需要利用table_2中的table_2.column3字段,可以利用上述SQL.执行结果为向table_1中插入table_2中的记录数条记录。