Stay informed about any major changes. Click here to subscribe
Using joins
Joins connect a field in one table or view with a field of the same
data type in another table or view. Joins show how the data in one table
relates to the data in another table. By using joins, data from two or
more tables or queries based on logical relationships among the tables
can be retrieved.
A join specifies the column from each table. A typical join condition
specifies a foreign key from one table and its associated key in the other
table. It also specifies a logical operator (=, <>, etc.) to be
used in comparing values from the columns.
Joins can be specified in either the FROM or WHERE clauses. The join
conditions combine with the WHERE and HAVING search conditions to control
the rows that are selected from the base tables referenced in the FROM
clause.