# CREATE VIEW

A statement that defines a view from a query.

## What is **CREATE VIEW** in a relational database?

**CREATE VIEW** — A statement that defines a view from a query.

```sql
CREATE VIEW active_customer AS
SELECT customer_id, email
FROM customer
WHERE status = 'active';
```

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/create-view
