Ch 4 Flashcards
Required attribute
A required attribute is an attribute that must have a value, i.e. it cannot be left empty.
Optional attribute
An optional attribute is an attribute that does not need to have a value, i.e. it can be left empty.
Identifiers
One or more attributes that uniquely identify each entity instance.
Composite identifier
A primary key composed of more than one attribute.
Composite attribute
A composite attribute, not to be confused with a composite key, is an attribute that can be further subdivided to yield additional attributes.
Simple attribute
A simple attribute is an attribute that cannot be subdivided.
Single-valued attribute
A single-valued attribute is an attribute that can only have a single value. E.g. social security numbers, serial numbers.
Multivalued attributes
Multivalued attributes are attributes that can have many values. E.g. college degrees (you can have many different ones).
Derived attribute
A derived attribute is an attribute whose value is derived (calculated) from other attributes.
Participants
The entities that participate in a relationship are known as participants.
Cardinality
Cardinality expresses the minimum and maximum number of entity occurrences associated with one occurrence of the related entity.
Existence-dependency
An entity is said to be existence-dependent if it can exist in the database only when it is associated with another related entity occurrence.
Existence-independence
If an entity can exist apart from all of its related entities, then it is existence-independent.
Strong/regular entity
Entities that are existence-independent are strong (or regular) entities.
Weak/non-identifying relationship
A weak relationship, also known as a non-identifying relationship, exists if the primary key of the related entity does not contain a primary key component of the parent entity.