1、SELECT *
FROM A106B AS A1
WHERE A1.序号 & A1.关键字 & A1.数值 NOT IN
(SELECT DF.序号 & DF.关键字 & DF.数值 FROM (SELECT A.*
FROM A106A AS A, A106B AS B
WHERE A.关键字=B.关键字 AND A.序号=B.序号 AND A.数值=B.数值) AS DF );
2、SELECT A1.*
FROM A106B AS A1 LEFT JOIN [SELECT 序号,关键字,数值 FROM (SELECT A.*
FROM A106A AS A, A106B AS B
WHERE A.关键字=B.关键字 AND A.序号=B.序号 AND A.数值=B.数值)]. AS DF ON A1.序号 & A1.关键字 & A1.数值= DF.序号 & DF.关键字 & DF.数值
WHERE ISNULL(DF.序号); 作者: tim_foshan 时间: 2006-7-27 00:54
呜呜。我是菜鸟,看不懂呀!!作者: tim_foshan 时间: 2006-7-27 01:12
哦。看明了,并且做出来 了。。。真的太谢谢了。。