Compound Key
A primary key consisting of two or more columns whose combination uniquely identifies each row.
In the relational model, a single column often cannot uniquely identify a row. An order table might need OrderID plus ItemNumber to identify each line item uniquely; a schedule might need RouteID, Day, and Time. Together, these columns form a compound (or composite) key where no individual column is unique, but their combination is.
Compound keys are common in correct database design and became central to normalization theory. They illustrate a key insight from Codd: identity need not be artificial or singular—it can naturally emerge from a combination of semantic domains. However, using a compound key inflated complexity in joins and foreign key constraints. This pain point partly explains why surrogate keys (artificial ID columns) later became standard in practice, even though they violate normalization principles.