PostgreSQL · Command
DROP TABLE
DROP TABLE removes one or more tables from PostgreSQL. Use IF EXISTS to avoid an error for a missing table; RESTRICT is the default dependency behavior.
Last updated
Syntax
DROP TABLE [ IF EXISTS ] name [, ...] [ CASCADE | RESTRICT ]In-depth API docs are only for subscribers: parameters, examples, common mistakes and interview practice.
SubscribeRelated
ALTER TABLECREATE TABLEDELETETRUNCATE