Is there a performance problem if I use an OR in my query, example:
(a bit simplified, but actually my query is MUCH MUCH more complicated)
select * from T1, T2 where (T1.F1 = T2.F1 AND T2.F2 = XXX)
OR (T1.F1 = T2.F2 AND T2.F3 = yyy)
Knowing that T1.F1 is indexed, but does it work when using OR?
Thanks!!!