优化代码
****VFP6.0*** Sele a.Num As NxjNum, a.xm As NxjXm,a.bm As NxjBm,;
b.NUM As kqNUM, b.XM As kqxm,b.bm As kqbm;
From kq b, nxj a;
Where (b.xm=a.xm and b.num NOT In (Sele num From nxj)) OR b.num=a.num and b.xm NOT In (Sele xm From nxj);
Into tabl byz
有kq,nxj二个表,字段名结构相同 kq(num,xm) nxj(num,xm)找出num和xm不一样的记录。
现想用VFP9.0的代码,能优化吗?