DROP VIEW — remove a view
DROP VIEW [ IF EXISTS ] name [, ...] [ CASCADE | RESTRICT ]
DROP VIEW drops an existing view. To execute
this command you must be the owner of the view.
IF EXISTSDo not throw an error if the view does not exist. A notice is issued in this case.
nameThe name (optionally schema-qualified) of the view to remove.
CASCADEAutomatically drop objects that depend on the view (such as other views).
RESTRICTRefuse to drop the view if any objects depend on it. This is the default.