0
我想根据辅助表列的所有值将数据插入到表中。例如基于另一个表的列值将值插入到表中
我有两个表
CREATE TABLE Table1 (
id int identity(1, 1) not null,
FullName varchar(100),
Age int,
CourseID int
)
CREATE TABLE Table2 (
id int identity(1, 1) not null,
Courses int
)
我想执行这样的事情..
insert into Table1 ('Auser',20,'And the list of Courses that I get from Table2')
是否有我可以做到这一点在平方米l服务器?