# DROP DATABASE

## Grammar Description

This statement is used to delete a database.

## Grammar Structure

```sql
DROP DATABASE [IF EXISTS] <database_name>
```

## Example

```text
CREATE DATABASE test01;

mysql> DROP DATABASE test01;
Query OK, 0 rows affected (0.01 sec)
```
