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
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started