SQL Create Database – SQL TUTORIAL | Software Testing Material

SQL Create Database:

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


Note: Always database name should be unique within the RDBMS.

Also Read: SQL Create Table


I am creating a Database say TestDB

Note: Make sure you have admin privilege before creating any database.

SQL Create Database

To see the list of databases, use the following syntax. We see list of Select Queries in other post in detail.

We have created a Database named ‘TestDB’. In the below image, we could find the list of Databases based on the above query. In the list of Databases, we could find the database ‘TestDB’ which we have created.

SQL Show Database

In the next tutorial, we will see How To Create A Table In SQL

Check out the complete SQL Tutorial by clicking on below link:

SQL Tutorial – Complete

Sharing is caring.

Share on facebook
Share on twitter
Share on linkedin

Like This Post?

We have a lot more where that came from?

We only send really good stuff occasionally, promise.


Leave a Comment

API Testing eBook