Skip to content

Glossary: Docker Basics

References (foreign key)

Also written: REFERENCES, foreign key

A SQL rule that a column's values must match a column in another table. `orders.product` references `products.code`, so orders for unknown products are refused.

Where the book teaches it

Related terms

Primary keySQL