CREATE DATABASE statement in SQL
The CREATE DATABASE statement is used to create a new database.
Syntax:
CREATE DATABASE databasename;
CREATE DATABASE EXAMPLE
CREATE DATABASE test;
Syntax:
CREATE DATABASE databasename;
CREATE DATABASE EXAMPLE
CREATE DATABASE test;
Note: Make sure you have admin privilege before creating any database. Once a database is created, you can check it in the list of databases with the following SQL command: SHOW DATABASES;
What is the basic difference between sql and mysql?
ReplyDelete