I am running this oracle query , But its taking lot of time, I have also tried indexing, but still taking lot of time. Can the below Query can be tuned or can be write in other way to execute fast.
select *
from table1
where (col_1 like '8%' OR col_1 like '9%')
and col_1 not in (select col_11
from table2
where id =2
and (col_11 like '9%' OR col_11 like '8%'))