Lookup Join
A lookup join is similar to an index join. The only difference is that the lookup join reduces the number of fields in the inner relationship and performs a sort as part of the index creation on the inner table before performing the join. A lookup join is often used for static queries and ordered dynaset-type Recordset objects.
Algorithm for Performing a Lookup Join
- 
Create a sorted and indexed temporary table, selecting the necessary fields from the inner table.
 
 
- 
Retrieve a value from the outer table.
 
 
- 
Create a primary key for the inner table.
 
 
- 
Search on the temporary table to find matches, based on the key created in step 3.
 
 
- 
Check the remaining restrictions for each match.