Skip to main content

How to create database

The SQL CREATE DATABASE statement is used to create a new SQL database.

syntax: Create database databasename;

Example: If you want to create database<student> then the query will be like below-

Create database student

Note:Make sure you have the admin privilege before creating any database. Once a database is created, you can check it in the list of databases.




Comments