# JOIN

A query operation combining related rows from two table expressions.

## What is **JOIN** in a relational database?

**JOIN** — A query operation combining related rows from two table expressions.

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

Level: Apprentice · [More Database terms at this level](https://www.ask-codey.com/glossary/subjects/database/apprentice)

Updated: September 27, 2026

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