In this article, we will learn how to delete/drop a Database using SQL query.
To drop an existing SQL database, the DROP DATABASE statement is used.
Syntax
DROP DATABASE DatabaseName;
Example
The subsequent statement would delete the existing database named “TheCodeHubs”.
DROP DATABASE TheCodeHubs;
Also, check How To Create SQL DB Using Query