Lincoln Mutanga R185280D Hettw Database Design 4-1: Supertypes and Subtypes Practice Activities
Lincoln Mutanga R185280D Hettw Database Design 4-1: Supertypes and Subtypes Practice Activities
Lincoln Mutanga R185280D Hettw Database Design 4-1: Supertypes and Subtypes Practice Activities
com
LINCOLN MUTANGA
R185280D
HETTW
Database Design
4-1: Supertypes and Subtypes
Practice Activities
Objectives
• Define and give an example of a subtype
• Define and give an example of a supertype
• State the rules relating to entities and subtypes; give examples of each
• Apply the rules of supertype and subtype by evaluating the accuracy of ER diagrams
that represent them
• Apply the rules of supertype and subtype and include them in a diagram when
appropri-ate
Vocabulary
Identify the vocabulary word for each definition below.
AmputationSubtype of Disability
Visual ImpairmentSubtype of Disability
Hearing ImpairmentSubtype of Disability
DisabilitySupertype
ParalysisSubtype of Disability
Copyright © 2019, Oracle and/or its affiliates. All rights reserved. Oracle and Java are registered trademarks of Oracle and/or its affiliates. Other names may be trademarks of their
respective owners.
2
2. For each rule, indicate whether the rule is applicable to supertypes or subtypes.
3. Name three things you consider when modeling supertypes and subtypes.
4. Find the incorrect subtypes in the illustration. Explain why you think the subtype is
incorrect. Adjust the model to improve it.
“Our shops sell several kinds of women’s clothing, including dresses, skirts and blouses. Of
course each product has a name, a description, and a price. Oh, and sizes too: all products
have a waist size. Dresses and skirts have a hem length but blouses don’t. Dresses and
blouses have a chest size, but skirts don’t.”
Dresses have generally two parts that is why they have hem length and chest size.
s.