Question
Consider the following relation schema for table R: R(ENo;DNo; PNo; EName; DName; PName; Edob; PCity; PCountry; hours; rate) Attributes starting with E refer to Employees,
Consider the following relation schema for table R:
R(ENo;DNo; PNo; EName; DName; PName; Edob; PCity; PCountry; hours; rate) Attributes starting with E refer to Employees, those starting with D refer to Departments, and those with P to Projects. Employees, Departments, and Projects are identified by unique numbers. The number of hours and hourly rate of pay for an employee to carry out a project are determined by himself/herself and the project. There may be multiple projects that are conducted in a department and multiple departments can be involved in a single project as well. Any employee can be affiliated with a few different departments and work in multiple projects at the same time. A project may involve multiple employees. Names for employees, departments and projects are not generally unique. A project will only be conducted in a single city. Multiple cities from the same country may appear in the table, however, cities are uniquely named within and across all countries.
(Question) Assume that R is in 1NF. Now normalise the relation to 2NF, 3NF, and BCNF. Be sure to indicate the FDs you are removing at each step, and why.
Just giving the decompositions in each of the three Normal Forms is not sufficient.
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