AdvancedBasic SELECT
Drop a constraint
The query
SQL
ALTER TABLE employees
DROP CONSTRAINT unique_email;Note
“Drops the constraint by its name. If you didn\'t name it, PostgreSQL generated one (like employees_email_key).
ALTER TABLE employees
DROP CONSTRAINT unique_email;Note
“Drops the constraint by its name. If you didn\'t name it, PostgreSQL generated one (like employees_email_key).