To create a database the CREATE DATABASE statement is used .
To create a table in database first we have to need create a database.
CREATE DATABASE dbname;
Here dbname specifies the database name.
The following SQL statement creates a database called "student _db":
CREATE DATABASE sudent_db;