D dazzling Unregistered / Unconfirmed GUEST, unregistred user! 2006-10-18 #1 表T1有F1、F2、F3 表T2同上 现在表T1中找到记录,并且这些记录在T2中不存在。 F1、F2、F3为键字。 不准用IN,效率太低。
A aizhuzhu Unregistered / Unconfirmed GUEST, unregistred user! 2006-10-18 #4 select a.matno,a.sup_no,'2006-03-29','a' from p_ma a where not exists(select * from p_matt b where a.matno=b.matno and a.supno=b.supno)
select a.matno,a.sup_no,'2006-03-29','a' from p_ma a where not exists(select * from p_matt b where a.matno=b.matno and a.supno=b.supno)