Skip to content

Glossary: PostgreSQL for Developers

UNIQUE

Also written: unique constraint

A constraint meaning no two rows may have the same value (or combination, for several columns). NULLs don't count as duplicates.

Where the book teaches it

Related terms

constraintnatural key