今天我听说一个查询<>将花费更多的时间来执行而不是一个not in.我试图测试这个并且在平等计划下有以下时间结果:
<>
not in
select * from test_table where test <> 'test' 0,063 seconds select * from test_table where test not in ('test') 0,073 seconds
所以,问题是,是什么样的区别<>,并not in为一个单一的状况,什么是更好地使用.
oracle oracle10g
oracle ×1
oracle10g ×1