When more than two table are joined then how oracle database determine the execution order of a join query.
I list 3 table which does not have any constraint except composite index like col1A,col1B on TableA.
Now tell me in which order query run?
and have any alternate solution for run query faster?
Tables:
TableA <br/>
_______ <br/>
col1A ====> composite Index Column | col2A ====> composite Index Column | col3A | col4A
----------------------------------------------------------------------------------------
TableB
____________
col1B | col2B | col3B | col4B
-------------------------------------
TableC
___________
col1c | col2c | col3c | col4c
-------------------------------------
Query:
SELECT col1c FROM TableA a,TableB b,TableC c
WHERE a.col1A = b.col1B <br/>
AND b.col1B=c.col1C <br/>
AND a.col2A=b.col2B <br/>