# DISTINCT

A SELECT option that removes duplicate rows from a result.

## What does **DISTINCT** do in a relational database?

**DISTINCT** — A SELECT option that removes duplicate rows from a result.

```sql
SELECT DISTINCT status
FROM purchase_order;
```

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

Updated: September 27, 2026

Source: https://www.ask-codey.com/glossary/distinct
