Question
For each of following relations with no repeating group, normalize to fifth normal form. Indicate primary key with a single underline, foreign key with a
For each of following relations with no repeating group, normalize to fifth normal form. Indicate primary key with a single underline, foreign key with a double underline and candidate key with a circle around it for the final set of normalized relations.
- Contract (ConsultantID, ConsultantName, EmployeeID, ContractDescription, EmployeeName, ContractBudget, , ContractID)
Assumptions:
- A consultant can work on more than one contract;
- An employee can work on more than one contract; and
- A contract can only have one employee and one consultant.
- Instruction (InstructorID, StudentID, CourseID)
Assumptions:
- A course can be given by many instructor;
- A student can have more than one course;
- A student always has the same instructor for the same course; and
- An instructor only teach one specific course.
c. Sport (StudentID, StudentName, SportID, SportFee)
Assumptions:
- A student can only play one sport; and
- A sport has only one fee.
d. Account (AccountType, CustomerID, BankID)
Assumptions:
(1) A customer can have more than one bank;
(2) A customer can have more than one account type with a bank; and
(3) A bank can offer more than one account type.
- Sales (UnitPrice, SalesAmount, SalesID, Quantity)
Assumption: Common Sense
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