The completeness constraint specifies whether each entity supertype occurrence must also be a member of at least one subtype. b. The completeness constraint specifies whether each entity subtype occurrence must also be a member of at least one supertype. c. Partial completeness constraint means that every supertype occurrence is a member of a subtype. d. Total completeness constraint means that every subtype occurrence must be a member of at least one supertype. Show
Thiru DBMS
Completeness Constraint The completeness constraint specifies whether each entity supertype occurrence must also be a member of at least one subtype. The completeness constraint can be partial or total. Partial completeness (symbolized by a circle over a single line) means that not every supertype occurrence is a member of a subtype; that is, there may be some supertype occurrences that are not members of any subtype. A single horizontal line under the circle represents a partial completeness constraint. For example consider the following figure Total completeness (symbolized by a circle over a double line) means that every supertype occurrence must be a member of at least one subtype. A double horizontal line under the circle represents a total completeness constraint. Consider the following diagram.
Given the disjoint/overlapping subtypes and completeness constraints, it’s possible to have the specialization hierarchy constraint scenarios shown in the following Table You May Also Like: Entity supertype and Subtype Specialization Hierarchy Subtype Discriminator Surrogate Primary key Find Other DBMS Questions
result of adding more semantic constructs to the ER model. This model is used to make an EER diagram
contain unique subset of supertype entity set.
subtypes that contain nonunique subsets of the supertype entity set
Specifies whether each entity supertype occurrence must also be a member of at least one subtype
(circle over single line) means that not every supertype occurrence is a member of a subtype
(circle over double line) every supertype occurrence must be a member of at least one subtype
top-down process of identifying lower-level, more specific entity subtypes from a higher-level entity supertype
bottom-up process of identifying a higher-level more generic entity supertype from lower-level entity subtypes
a virtual entity type used to represent multiple entities and relationships in the ERD
Natural key (natural identifier)
real world identifier that uniquely identifies a real world object
Primary key created by the database designer to simplify the identification of entity instances
|