1.可以把那些null值设置成一个特殊的值,比如"N/A" 2.where nvl(col,0) =0 在col字段上创建一个函数索引 create index ind_col on table(nvl(col,0)); 这样就能用索引了