This SQLite post explains how to use the SQLite DROP TABLE statement with syntax and examples.
The SQLite DROP TABLE statement allows you to remove or delete a table from the SQLite database.
The syntax for the DROP TABLE statement in SQLite is:
The name of the table to remove from the database.
Optional. If specified, the DROP TABLE statement will not raise an error if one of the tables does not exist.
Let's look at an example that shows how to drop a table using the SQLite DROP TABLE statement.
First, let's look at a simple DROP TABLE example that shows how to use the DROP TABLE statement to drop one table in SQLite.
For example:
This DROP TABLE example would delete the table called employees.