Database Reference
In-Depth Information
Assume that the following functional dependencies exist:
Name S S Sibling
Name S ShoeSize
Describe deletion, modification, and insertion anomalies for this relation.
3.53 Place the PERSON relation in Review Question 3.52 into 4NF.
3.54 Consider the relation:
PERSON_2 (Name, Sibling, ShoeSize, Hobby)
Assume that the following functional dependencies exist:
Name S S Sibling
Name S ShoeSize
Name S S Hobby
Describe deletion, modification, and insertion anomalies for this relation.
3.55 Place the PERSON_2 relation in Review Question 3.54 into 4NF.
3.56 What is 5NF?
3.57 How do the conditions for DK/NF correspond to the conditions for BCNF?
Project Questions
3.58 Consider the table:
STAFF_MEETING (EmployeeName, ProjectName, Date)
The rows of this table record the fact that an employee from a particular project at-
tended a meeting on a given date. Assume that a project meets at most once per day.
Also, assume that only one employee represents a given project, but that employees
can be assigned to multiple projects.
A. State the functional dependencies in STAFF_MEETING.
B. Transform this table into one or more tables in BCNF. State the primary keys, can-
didate keys, foreign keys, and referential integrity constraints.
C. Is your design in part B an improvement over the original table? What advantages
and disadvantages does it have?
3.59 Consider the table:
STUDENT (StudentNumber, StudentName, Dorm, RoomType, DormCost, Club,
ClubCost, Sibling, Nickname)
Assume that students pay different dorm costs depending on the type of room they
have, but that all members of a club pay the same cost. Assume that students can have
multiple nicknames.
A. State any multivalued dependencies in STUDENT.
B. State the functional dependencies in STUDENT.
C. Transform this table into two or more tables such that each table is in BCNF and in
4NF. State the primary keys, candidate keys, foreign keys, and referential integrity
constraints.
 
 
Search WWH ::




Custom Search