TRENDING TOPICS

×

SQL CREATE DATABASE

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

CREATE DATABASE Syntax

CREATE DATABASE database_name;

EXAMPLE: CREATE DATABASE

Suppose, If you want to create a new database "employeeDB", then use CREATE DATABASE statement SQL query:

CREATE DATABASE employeeDB;
  • Now the 'employeeDB' database is CREATED successfully in database list.
  • Once a database is created, you can check it with the following SQL command: 'SHOW DATABASES;' in databases list.

SHOW DATABASES Command

SHOW DATABASES;

© 2021 GDATAMART.COM (All Rights Reserved)