DROP TABLE - remove an existing table from the database
DROP TABLE [IF EXISTS] table_name
use IF EXISTS to avoid errors if the table doesn't already exist in the db — RESTRICT - a keyword automatically added to any PostgreSQL DROP TABLE statement
RESTRICT - doesn't allow the table to be dropped if there is another table dependent upon it
We use cookies to understand our websites traffic and offer our website visitors personalized experience. To find out more, click ‘More Information’. In addition, please, read our
Privacy policy.