Skip to content

Glossary: SQL Basics

Primary key

Also written: primary keys, PRIMARY KEY, PK

A column whose value is different on every row, so it identifies exactly one row, such as `customer_id` in customers.

Where the book teaches it

Related terms

Foreign keyConstraint