SQL DROP TABLE 

The DROP TABLE statement in SQL is used to delete an existing table from the database.

Syntax:

Example:

In this example, the DROP TABLE statement is used to delete the cars table from the database. Note that when a table is dropped, all the data stored in the table is permanently lost, so it is important to use this statement with caution.

Leave a Comment

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

Scroll to Top