这2个查询语句怎么合为一个? 指定bb,cc为驱动表试验一下。 解决方案 » 免费领取超大流量手机卡,每月29元包185G流量+100分钟通话, 中国电信官方发货 select flg, id from bb where exists (select 1 from aa where aa.flg = '1' and aa.id = bb.id) union all select flg, id from cc where exists (select 1 from aa where aa.flg <> '1' and aa.id = cc.id)会不会快点? expr<>all是什么表达式哦 求助,关于一个动态打印 不是单组分组函数,现在等! pl sql导出excel的存储过程如何写? Oracle9i 安装在Win2000上,系统崩溃后,Oracle文件都在,请叫高手如何找回我的数据??高分回赠! Oracle 9i 创建过程出现问题,帮忙解决下! 不解!如何向一个指定的数据库里面创建一个表呢?我创建的表怎么都放到用户下面了?? 请问ORACLE 9i可以在WIN200Pro下安装吗? 急!!关于触发器的问题? 大家好,谈谈大型数据库设计的经验! commit提交问题 exp 导出 EXP-00056: 遇到 ORACLE 错误 904
from bb
where exists (select 1
from aa
where aa.flg = '1'
and aa.id = bb.id)
union all
select flg, id
from cc
where exists (select 1
from aa
where aa.flg <> '1'
and aa.id = cc.id)会不会快点?