# Join Condition

*noun*

say it: **“JOYN kun-DISH-un”** **/dʒɔɪn kənˈdɪʃən/**

The rule in ON that says which rows of two tables belong together, usually matching keys.

## What is **Join Condition** in a relational database?

**Join Condition** — The predicate deciding which rows from joined sources match.

```sql
SELECT customer.email, purchase_order.order_id
FROM customer
INNER JOIN purchase_order
    ON purchase_order.customer_id = customer.customer_id;
```

## In a sentence

- “The **join condition** ON o.CustomerID = c.CustomerID matches each order to its customer.”

Level: Apprentice · [More SQL terms at this level](https://www.ask-codey.com/glossary?category=sql&level=2)

Updated: November 9, 2026

Source: https://www.ask-codey.com/glossary/join-condition
