Tag archive
Commands grouped around the same concept, pattern, or recurring problem.
Enforce referential integrity by linking a column to the primary key of another table so orphaned rows cannot be inserted.
Create a unique index so the database rejects duplicate values in one or more columns.
Use a `CHECK` constraint to reject rows whose values fall outside an allowed rule.