Skip to content

DROP

The DROP statement is used to delete an existing table in SQL. The syntax for dropping a table is as follows:

DROP TABLE table_name;
flowchart TD
    A["DROP TABLE table_name"] --> B["Table Deleted"]
  • table_name: The name of the table you want to delete.

Example:

DROP TABLE employees;