In this tutorial, we will learn how to CREATE DATABASE
and DROP
DATABASE
using SQL.
CREATE DATABASE
statement is used to create a new SQL database.
CREATE DATABASE databaseName;
For creating a new SQL database, a query will be:
CREATE DATABASE test_DB;
DROP DATABASE
statement is used to drop or deleting an existing SQL database.
DROP DATABASE databaseName;
For dropping or deleting an existing SQL database, a query will be:
DROP DATABASE test_DB;