if exists 如何加入and 想实现满足 aaa 与 bbb 表 的条件才执行insert into 语句,不知道该怎么写?if exists (select * from aaa where strID = 1) and (select * from bbb where strID = 1) begin insert into ...... end 解决方案 » 免费领取超大流量手机卡,每月29元包185G流量+100分钟通话, 中国电信官方发货 if exists (select * from aaa where strID = 1) and exists (select * from bbb where strID = 1) begin insert into ...... end if exists (select * from aaa where strID = 1) and exists(select * from bbb where strID = 1) if exists (select * from aaa INNER JOIN bbb ON aaa.strID=bbb.strID where aaa.strID = 1) begin insert into ...... end 求解SQL语句 这条SQL怎么写 SQL 中怎么判断当前系统时间是否小于表中字段指定时间? 求一SQL语句.. 如何查询某字段是否存在 有办法编写超出指定时间自动改变另一个列的值吗? 有关db2中写不写日志的问题??? 请关注!!! 请问VFP中如何设置一些默认值 SQL技术性问题: 一个存储过程的问题(怎样在SQl中使用动态的表名) SQL 快速删除300-400万数据 记性不好,还是其他情况?
begin
insert into ......
end
begin
insert into ......
end