Weak Entity Sets

Weak entity set:
no primary key.
Identified entity set:
related to weak entity set.
Strong entity set: entity set
with primary key.
Weak entity set cannot be the primary key independently.
Insert picture description here
Insert picture description here

Multi-valued attributes are attributes that can have multiple values ​​for an entity. For example: a student information table has an attribute about interest. A student may have several interests, such as sports, movies, travel, learning, etc. These students may only have "sports" interests, or have "sports" at the same time. , Movies, travel, and learning ", so interest is a multi-valued attribute.

Double-line rectangle: weak entity set
Underline dashed line: discriminator
Double-line diamond: symbolic connection

Cardinality Constraints
One
-
to
- one One - to -many Many - to - many Many - to - many
Insert picture description here
Insert picture description here
Insert picture description here
Insert picture description here
Insert picture description here
Participation of an Entity Set in a Relationship Set
Insert picture description here
Partial participation
Full participation in
Insert picture description here
Redundancy of Schemas
multi-valued attributes: a new table should be created separately

Aggregation
Insert picture description here
Insert picture description here
Insert picture description here
Insert picture description here

202 original articles published · Like 13 · Visit 7424

Guess you like

Origin blog.csdn.net/qq_43410618/article/details/105644649