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;

Policy

GDATAMART.COM is optimized for learning & job information; The users try to improve your knowledge and practical experience through this site but we cannot warrant full correctness of all content... Learn More → | Sitemap →

© 2020 GDATAMART | All Rights Reserved