Starting from weak and strong entities Flashcards
Strong entities are denoted by:
Rectangles
Weak entities are denoted by:
Double rectangles
What are attributes?
descriptive properties of entities and denoted by ovals
What are keys
kinda like attributes but uniquely identified
Superkey: umbrella term for a set of one or more attributes taken to identify an entity occurrence
Candidate: minimal set(one)
composite: superkey but starts with 2
Primary key: chosen principal means of identifying
Vrai ou faux: A key (primary, candidate, and super) is a property of the individual entity occurrences , rather than of the entity set.
Faux, reverse it
How do you denote primary keys:
underline the names…all for composite
Relationship?
Single…meaningful association among entities, represented by a diamond and weak by double diamond
Relationships within an entity is possible…
OUI
Multiplicity
Constraint on relationships, cardinality and participation
Cardinality
Maximum number of occurrences
Participation
Determines whether all or only some entity occurrences participate in a relationship.
Total is bold line ou double
Problems with ER models
Some constraints can’t be captured
Subjective
Hard to decide if it is an attribute, relation or entity
Cause connection traps
What are connection traps and examples:
problem caused by designing a conceptual data model.
Fan trap : pathway between certain entity occurrences is ambiguous
Chasm trap:
model suggests the existence of a relationship between entity types, but pathway does not exist between certain entity occurrences that creates information gap