A join occurs when two or more tables are connected by one or more
columns in common, which creates a new table of results. The following
figure shows a query that uses a subset of the items and stock tables
to illustrate the concept of a join.
The following query joins the customer and state tables.
The result consists of specified rows and columns from both the customer and state tables.