摘要: 1, 关于not in 和not exists一直以来,not in 和not exits应该用哪个一直都在争论,当然专业的人都知道要使用noe exists。通过oracle的执行计划可以发现,not in 会跳过索引走全表扫描,而not exists不会这样子。2,避免在索引上面使用计算:在索引... 阅读全文
posted @ 2013-11-30 15:58 梅尔加德斯 阅读(183) 评论(0) 推荐(0) 编辑