MySQL Deleting a Table


Deleting a Table

To delete an existing table and all of its data, use the DROP TABLE statement:

Syntax:

DROP TABLE table_name;

Example:

DROP TABLE employees;

This command permanently deletes the employees table and all its data.