Step 8: Super & Sub-Classes: - Option 8A (General Case)
Step 8: Super & Sub-Classes: - Option 8A (General Case)
Chp. 7
If overlapping: redundancy
if partial: may lose superclass entities
not in any subclass 2
Step 8 (cont)
• Option 8C (Disjoint Only)
• We create a single relational table for all subclasses and the superclass
• The attributes of the table is the union of all attributes plus the attribute T to
indicate the subclass to which each tuple belongs. T is NULL in tuples that do
not belong to any subclass (for partial constraints)
Vehicle(vID, licNum, vType, weight, axleNum,
licNum Vehicle vID seatNum, engSize)
Truck Car
engSize
axleNum