The CREATE DATABASE statement is employed for initiating a fresh SQL database.
CREATE DATABASE databasename; |
This SQL statement establishes a database named “testDB”.
CREATE DATABASE testDB; |
Tip: Ensure you possess administrative privileges prior to initiating any database creation. After creating a database, its presence can be confirmed within the list of databases using the SQL command: SHOW DATABASES; |