Skip to content

Glossary: SQL Basics

Foreign key

Also written: foreign keys, FK

A column that holds another table's primary key, linking a row to a row there. `orders.customer_id` points at `customers.customer_id`.

Where the book teaches it

Related terms

Primary keyJoin