insert into emplo (empno, Tel) ; select t2.empno, t1.Tel from tel t1 ; LEFT JOIN emplo T2 on T1.empno = T2.empno where T2.empno =0 CLOSE all USE emplo COUNT TO m.s ? m.s= 1402 && it must be 1423 or more USE tel COUNT TO m.s ? m.s=1423 browis there away to do it as below&&
use tel use emplo scan for empno<>tel.empno append blank replace empno with tel.empno endscan>>hi all,
> >update T2 set tel = T1.tel from Table2 T2 inner join Table1 T1 on T2.NO = T1.No >insert into Table2 (no, Tel) >select T1.not, T2.Tel from Table1 >LEFT JOIN Table2 T2 on T1.no = T2.no where T2.no IS NULL