关于insert into select的问题
我现在想向A(a,b,c)表中插入数据a,b根据select表B得到,c字段插入传过来的参这个怎么写
insert into A(a,b,c) select T.a,T.b from B T where T.b=A.b,'we'
这么写不对吧
------解决方案--------------------insert into A(a,b,c) select T.a,T.b,'we' from B ;
------解决方案--------------------insert into A(a,b,c) select T.a,T.b,'we' from B T where T.b=A.b