📅  最后修改于: 2022-03-11 15:05:35.830000             🧑  作者: Mango
In database design, a composite key is a candidate key that consists of two or more attributes (table columns) that together uniquely identify an entity occurrence (table row). A compound key is a composite key for which each attribute that makes up the key is a simple (foreign) key in its own right.