S
Sammo
Unregistered / Unconfirmed
GUEST, unregistred user!
在ACCESS里好像不能使用这种子查询!请问各位老大有没有什么办法可以解决?
INSERT INTO ClienterGoodsStore (ClienterID, Clienter, GoodsName,Store, StoreTun)
SELECT ClienterID,Clienter,Name,0,0
FROM ClienterManage, GoodsCode
WHERE (ClienterID,GoodsName) NOT in (SELECT ClienterID,GoodsName FROM ClienterGoodsStore GROUP BY ClienterID,GoodsName);
INSERT INTO ClienterGoodsStore (ClienterID, Clienter, GoodsName,Store, StoreTun)
SELECT ClienterID,Clienter,Name,0,0
FROM ClienterManage, GoodsCode
WHERE (ClienterID,GoodsName) NOT in (SELECT ClienterID,GoodsName FROM ClienterGoodsStore GROUP BY ClienterID,GoodsName);