如何可以代替select语句中的not in的功能 not exists 比not in的速度快,如要数据量很庞大,应建立索引 解决方案 » 免费领取超大流量手机卡,每月29元包185G流量+100分钟通话, 中国电信官方发货 select a.c from a,b where a.c<>b.c select a.* from a, bwhere a.c<>b.c试试看,好象不行 对于oracle,还可以用minus(集合减运算) 用minus速度比not in快很多,再问一下,对于oracle,还有那些集合运算的命令 我没测试,你试一下吧select * from (select a.*,b.c c1 from a,b where a.c=b.c(+)) d where d.c1 is null; select * from (select a.*,b.c c1 from a,b where a.c=b.c(+)) d where d.c1 is null;好用的,谢谢在问一下,对于oracle,除了union,monus还有那些集合运算的命令 我这样写得:select c from a minus select c from b集合运算有:union,union all,intersect,minus 索引问题 在oracle 中参数的使用? 关于oracle group by的问题 好象是临表满的问题(内有错误提示)?在线等 让人肉疼的查询,关于查询从当前月到本年度1月 同一个对象的数据,给出点主意 请教查询语句优化。 exp导出时,出错!!(提示:SP2-0734: 未知的命令开头 "exp system..." - 忽略了剩余的行。) oracle可不可以实现两个blob的合并 联不上oracle数据库,为什么 IAS的PL/SQL WEB开发问题 急在线等候 oracle数据恢复,急急急! 请问怎样安装oracle
where a.c<>b.c试试看,好象不行
再问一下,对于oracle,还有那些集合运算的命令
select * from (select a.*,b.c c1 from a,b where a.c=b.c(+)) d where d.c1 is null;
好用的,谢谢
在问一下,对于oracle,除了union,monus还有那些集合运算的命令
select c from a minus select c from b集合运算有:
union,union all,intersect,minus