SQL CREATE DATABASE

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

Syntax:
CREATE DATABASE database_name;

SQL CREATE DATABASE

The following SQL statement creates a new database named as "my_database":

SQL Example:

CREATE DATABASE my_database;

Courses
Subscribe Updates via Email

Join 49,000+ W3schools lovers and get all the latest tutorials, programs, algorithms in your inbox.