Skip to content

Glossary: SQL Beyond the Basics

Orphan

Also written: orphan rows

A row whose foreign key points to nothing, such as an order for a customer 9999 who doesn't exist. Foreign keys prevent them.

Where the book teaches it

Related terms

Foreign keyPRAGMA