From http://www.w3schools.com (Copyright Refsnes Data)

SQL CREATE DATABASE Statement

previous next

The CREATE DATABASE Statement

The CREATE DATABASE statement is used to create a database.

SQL CREATE DATABASE Syntax

CREATE DATABASE database_name


CREATE DATABASE Example

Now we want to create a database called "my_db".

We use the following CREATE DATABASE statement:

CREATE DATABASE my_db

Database tables can be added with the CREATE TABLE statement.


previous next

From http://www.w3schools.com (Copyright Refsnes Data)