In SQL, you can create a new database using the CREATE DATABASE
statement. This command is essential when you’re starting a new project and need a dedicated storage space for your data.
SQL Create DB Syntax
SQL
x
1
CREATE DATABASE database_name;
SQL Create DB Example
This command creates a new database named StudentRecords
. After this, you can begin adding tables, views, and other database objects to organize your information.
SQL
1
1
CREATE DATABASE StudentRecords;
SQL Create Database Visual Diagram
