DROP TABLE table [, ...]
The name of an existing table or view to drop.
The message returned if the command completes successfully.
If table/view specified doesn't exist into database.
DROP TABLE removes tables and views from the database. Only its owner may destroy a table or view. A table may be emptied of rows, but not destroyed, by using DELETE.
If a table being destroyed has secondary indices on it, they will be removed first. The removal of just a secondary index will not affect the indexed table.
Refer to the CREATE TABLE and ALTER TABLE statements for information on how to create or modify tables.
To destroy the films and distributors tables:
DROP TABLE films, distributors
SQL92 specifies some additional capabilities for DROP TABLE:
DROP TABLE table { RESTRICT | CASCADE }
Ensures that only a table with no dependent views or integrity constraints can be destroyed.
Any referencing views or integrity constraints will also be dropped.
TIP: At present, to remove a referenced view you must drop it by hand.