If I have 'in' in the sql, then my query uses the index or it does a table space scan?
For example my query is like
select col1,col3
from tabl1
where tabl1.col2 in
(select tabl2.col5 from tabl2)
I have index on col2 for the tabl1. But my question is whether this query uses the index which I have in col2?
Thank you,
Manmaria
For example my query is like
select col1,col3
from tabl1
where tabl1.col2 in
(select tabl2.col5 from tabl2)
I have index on col2 for the tabl1. But my question is whether this query uses the index which I have in col2?
Thank you,
Manmaria