Sure...
- "INNER JOIN" is a logical (relational) join operator
- Internal and external tables are concepts in a physical nested loop join statement
The selection of internal and external tables for the physical operator is made by the optimizer and is not associated with a logical operator.
Now the nested psudeo code is this
for each row R1 in the outer table for each row R2 in the inner table if R1 joins with R2 return (R1, R2)
So this has no meaning in theory.
In practice, the optimizer will work best for internal and external tables: this is what your link to the article should describe. Aka how to reduce the number of iterations
For completeness ... INNER JOIN logical operator is commutative and associative
So, A INNER JOIN B same as B INNER JOIN A
There is no internal or external table.
source share