有一个表 A
aid bid cid sumvalue
1 2 3 0
2 2 3 0
3 2 3 0还有一个表B
aid bid cid sumvalue2 2 3 88
现在想把B的数据插入到A中去,要求aid,bid,cid都是对得上的,结果就是有一个表 A
aid bid cid sumvalue
1 2 3 0
2 2 3 88
3 2 3 0
aid bid cid sumvalue
1 2 3 0
2 2 3 0
3 2 3 0还有一个表B
aid bid cid sumvalue2 2 3 88
现在想把B的数据插入到A中去,要求aid,bid,cid都是对得上的,结果就是有一个表 A
aid bid cid sumvalue
1 2 3 0
2 2 3 88
3 2 3 0
from a inner join b on a.aid=b.aid and a.bid=b.bid and a.cid=b.cid
不排除手误
from a,b where a.aid=b.aid and a.bid=b.bid and a.cid=b.cid
from a,b on a.aid=b.aid and a.bid=b.bid and a.cid=b.cid