MySQL Tutorial

Define MySQL

MySQL Create Database

MySQL Create Table

MySQL Constraints

MySQL Case Sensitivity

MySQL Insert

MySQL Select

MySQL Data Types

MySQL OrderBy

MySQL Top

MySQL Distinct

MySQL Update

MySQL Delete

MySQL Truncate

MySQL Drop

MySQL Alter

MySQL Join

MySQL Aggregate Function

MySQL String Function

MySQL Date Function

Page Stats

Visitor: 287

MySQL Drop Table

You can use the DROP TABLE statement to delete the database tables that you no longer need. The DROP TABLE statement permanently erase all data from the table. The DROP TABLE removes one or more tables.

DROP TABLE persons;

Drop Database

Similarly, you can delete a database using the DROP DATABASE statement. The following command will permanently remove the demo database from the database server.

DROP DATABASE demo;