Hi All,
I have requirement to join a table based on timestamp falling between two other timestamps of different table..
Join condition is like
Select A.......B.... from A
Inner join B
ON
A.id = B.id
and A.t > B.t1
and A.t <B.t2
Query performance is very low because of non equi join.
According to explain plans, it join based on 'Id' and then filters using where condition..
How can I improve the performance of non equi joins.. or any workarounds ?
Regards,
Suman.