# ROLLBACK

A statement that reverses a transaction's uncommitted changes.

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

**ROLLBACK** — A statement that reverses a transaction's uncommitted changes.

```sql
START TRANSACTION;
DELETE FROM purchase_order
WHERE order_id = 10;
ROLLBACK;
```

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

Updated: September 27, 2026

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