Question
PART 4: Given the following table and functional dependencies, construct tables below that will satisfy 2NF and identify the primary key of each new table.
PART 4:
Given the following table and functional dependencies, construct tables below that will satisfy 2NF and identify the primary key of each new table. Note that the primary key of this table is StdSSN + OfferNo.
StdSSN | StdCity | StdClass | OfferNo | OffTerm | OffYear | EnrGrade | CourseNo | CrsDesc |
S1 | SEATTLE | JUN | 01 | SPRING | 2009 | 3.5 | C1 | DB |
S1 | SEATTLE | JUN | 02 | FALL | 2009 | 3.3 | C2 | VB |
S2 | DENVER | JUN | 03 | SPRING | 2010 | 3.1 | C3 | OO |
S2 | DENVER | JUN | 02 | FALL | 2009 | 3.4 | C2 | VB |
Functional dependencies:
StdSSN -> StdCity, StdClass
OfferNo -> OffTerm, OffYear, CourseNo, CrsDesc
StdSSN, OfferNo -> EnrGrade
(1/2 point)
|
|
|
|
|
|
|
|
|
Table 1
Primary Key: ____________________________
(1/2 point)
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Table 2
Primary Key: _______________________________
(1/2 point)
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Table 3
Primary Key: _______________________________
PART 5: (1/2 point)
Now, assume an additional functional dependency:
CourseNo -> CrsDesc
What table above needs to be modified to accommodate this new functional dependency?
_______________________________
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