Chapter 4 - Entity Relationship Modelling (ERM) Flashcards
Entities
🐷Refers to entity set and not to single entity occurrence
🐷Corresponds to table and not to row in relational environment
🐷In Chen and Crow’s Foot models, entity is represented by rectangle with entity’s name
🐷The entity name, a noun, is written in capital letters
Attributes
- Characteristics of entities
- Chen notation: Ovals containing its names connected to entity rectangle with a line.
Crow’s foot notation: attributes written in attribute box below entity rectangle
Required attribute
Must have a value
Optional attribute
may be left empty
Domain
Set of possible values for an attribute
- Attributes may share the same domain
Identifiers
One or more attributes that uniquely identify each entity instance
Composite identifier
Primary key composed of more than one attribute
Which attribute can be subdivided?
Composite attribute
Which attribute cannot be subdivided?
Simple attribute
Single-value attribute
can have only a single value
Multivalued attribute
can have many values
Derived attribute
- value may be calculated from other attributes
- need not to physically stored within database
Participants
are entities that participate in a relationship
Connectivity
describe the relationship classification
Cardinality
expresses minimum and maximum number of entity occurrences associated with one occurrence of related entity