Question: 1) Composite and Multi-Valued Attributes Composite and multi-valued attributes can be nested to any number of levels. Suppose we want to design an attribute for
1) Composite and Multi-Valued Attributes
Composite and multi-valued attributes can be nested to any number of levels. Suppose we want to design an attribute for a STUDENT entity type to keep track of previous college education. Such an attribute will have one entry to each college previously attended, and this entry is composed of: college name, start and end dates, degree entries (degrees awarded at that college, if any), and transcript entries (courses completed at that college, if any). Each degree entry is formed of degree name and the month and year it was awarded, and each transcript entry is formed of a course name, semester, year, and grade.
a. Design an attribute to hold this information (HINT: multi-valued attributes are shown between set braces { }. Components of a composite attribute are shown between parentheses ( ).)
b. Draw the physical Schema (NOTE: in addition to the multi-valued attribute, the STUDENT entity has a StudentID and a StudentName)
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
