Glossary — in plain language

Primary key


In plain English

A primary key is the column (or set of columns) that uniquely identifies each row in a table, and can never be null. Every table should normally have one.

Why it matters

Primary keys give you a reliable way to reference rows, back foreign keys, and help replication identify rows. They are enforced by a unique index behind the scenes.

Was this helpful?

← Browse the full glossary