insert into tableB
(id,name)
select id,name
from tableA
where not exists (select * from tableB
where tableB .id=tableA.id)
参数中有单引号怎么处理? 传两个单引号,就会跳过识别 ''
insert into tableB
(id,name)
select id,name
from tableA
where not exists (select * from tableB
where tableB .id=tableA.id)
参数中有单引号怎么处理? 传两个单引号,就会跳过识别 ''