codingstreets
Search
Close this search box.
sql-create-database

Get Started: SQL Create Database

Before moving ahead, let’s take a tour of SQL Tutorial.

Table of Contents

SQL Create Database

To create a database in SQL, use the “CREATE DATABASE” statement.

Syntax:

				
					CREATE DATABASE data_base_name;
				
			

Example: Create a database with the name “my_first_database”.

				
					CREATE DATABASE my_first_database;
				
			

Note: To create a database, you should have admin permission.

SQL Show Database

Example: Use “SHOW DATABASES to Show the list of Databases.

				
					CREATE DATABASE my_first_database
SHOW DATABASES;
				
			

If you find anything incorrect in the above-discussed topic and have further questions, please comment below.

Connect on:

Recent Post

Popular Post

Top Articles

Archives
Categories

Share on