目前有两个表A, B
在A中增加列A.customerid, 并且update其值为B表中的B.customerid
但是A表和B表要通过表C才能联系在一起
A
[orderid]; 要增加列[customerid], 值等于B中同名列
B
[customername];[customerid]
C
[orderid];[customerid]a.orderid=c.orderid
b.customerid=c.customerid求sql语句写法 多谢大家