vb6.0里怎么写这样的语句进去
第一个:
INSERT INTO YSKQ
(bh,xm, RQ,sj,jx,jh,bz)
SELECT bh,xm, RQ, SJ,jx,jh,bz
FROM yskq1
WHERE not EXISTS
(SELECT bh,xm, RQ, SJ,jx,jh,bz
FROM yskq
WHERE yskq1.bh = yskq.bh AND yskq1.RQ = yskq.RQ AND yskq1.SJ = yskq.SJ )
delete from yskq1
第二个
update yskq
set xm=employee.姓名
from yskq,employee
where yskq.bh=employee.bh
请各位指点下.怎么把上面的语句写到VB里去执行?
谢谢啦~~~~~~~~~~~~~~~~~~~~~~