1. table_a 中对字段 a 加了索引
select * from table_a where a='d';
select * from table_a where a>='d';
select * from table_a where a>'d';
都是用了 索引的
select * from table_a where a!='d';
select * from table_a where a<='d';
select * from table_a where a<'d';
索引不起作用
如果a字段 可以为空 并且数据库中 有 null记录
oracle查找时会放弃索引, !!!注意