oracle中的exists和not exists和in用法详解 最新更新| 软件分类| 专题汇总| 手机版

您所在的位置:首页 > oracle中的exists和not exists和in用法详解 > 信息评论 >

oracle中的exists和not exists和in用法详解

  有两个简单例子,以说明 "exists"和"in"的效率问题  1) select * from T1 where exists(select 1 from T2 where T1.a=T2.a) ;  T1数据量小而T2数据量非常大时,T1<<T2 时,1) 的查询效率高。  2) select * from T1 where T1.a

网友评论

发表评论

(您的评论需要经过审核才能显示)