Dropping a Table

Syntax: To remove a table and its data from the database:

DROP TABLE table_name;

Example:

DROP TABLE employees;

Notes: This operation is irreversible; once executed, all data stored in the table is permanently deleted, and the table structure is removed.


Comments

Leave a Reply

Your email address will not be published. Required fields are marked *