> For the complete documentation index, see [llms.txt](https://gyansetu-sql.gitbook.io/sql-programming/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://gyansetu-sql.gitbook.io/sql-programming/sql-database/sql-create-database.md).

# CREATE DATABASE

### The SQL CREATE DATABASE Statement

The CREATE DATABASE statement is used to create a new SQL database.

#### Syntax

```sql
CREATE DATABASE databasename;
```

### CREATE DATABASE Example

The following SQL statement creates a database called "testDB":

```sql
CREATE DATABASE testDB;
```

> NOTE  : Make sure you have admin privilege before creating any database. Once a database is created, you can check it in the list of databases with the following SQL command: SHOW DATABASES;<br>

<br>
