# One-to-One Relationship

*noun*

say it: **“WUN too WUN rih-LAY-shun-ship”** **/wʌn tuː wʌn rɪˈleɪʃənʃɪp/**

A link where each row in one table matches at most one row in another.

## What is **One-to-One Relationship** in a relational database?

**One-to-One Relationship** — A relationship where each row can relate to at most one row on the other side.

```sql
CREATE TABLE customer_profile (
    customer_id INTEGER PRIMARY KEY
        REFERENCES customer (customer_id)
);
```

## In a sentence

- “Employees and EmployeeBadges have a **one-to-one relationship**: one badge per employee.”

Level: Novice · [More Database terms at this level](https://www.ask-codey.com/glossary?category=database&level=1)

Updated: November 9, 2026

Source: https://www.ask-codey.com/glossary/one-to-one-relationship
