Question

In: Computer Science

Consider the following relation with structure PROJECT(ProjectID, EmployeeName, EmployeeSalary). ProjectID EmployeeName EmployeeSalary 100A Eric Jones 64,000...

Consider the following relation with structure PROJECT(ProjectID, EmployeeName, EmployeeSalary). ProjectID EmployeeName EmployeeSalary 100A Eric Jones 64,000 100A Donna Smith 70,000 100B Donna Smith 70,000 200A Eric Jones 64,000 200B Eric Jones 64,000 200C Eric Parks 58,000 200C Donna Smith 70,000 200D Eric Parks 58,000 Suppose that the following functional dependencies exist: (ProjectID, EmployeeName) → EmployeeSalary EmployeeName → EmployeeSalary Normalize this relation into BCNF. For this problem you only need to include table names, primary keys, and attributes as part of your solutions.

Solutions

Expert Solution

Answer:

Given table PROJECT

ProjectID EmployeeName EmployeeSalary
100A Eric Jones 64,000
100A Donna Smith 70,000
100B Donna Smith 70,000
200A Eric Jones 64,000
200B Eric Jones 64,000
200C Eric Parks 58,000
200C Donna Smith 70,000
200D Eric Parks 58,000

This table in the First Normal Form (1NF) and this table needs to normalize further.

Second Normal Form (2NF) :

  • This table needs to normalize further to create new tables and remove partial dependancies.

1.Table Name :Employee

Schema :Employee(EmployeeName , EmployeeSalary)

FD :EmployeeName → EmployeeSalary

EmployeeName EmployeeSalary
Eric Jones 64,000
Donna Smith 70,000
Eric Parks 58,000

2.Table Name :Project

Schema :Project(ProjectID, ProjectName)

FD:ProjectID→ ProjectName

ProjectID ProjectName
100A A
100B B
200A AA
200B BB
200C CC
200D DD

Third Normal Form (3NF) :

  • Above table needs to normalize into 3NF to remove transitive dependancy.

1.Table Name :Employee

Schema :Employee(EmployeeName , EmployeeSalary)

FD :EmployeeName → EmployeeSalary

EmployeeName EmployeeSalary
Eric Jones 64,000
Donna Smith 70,000
Eric Parks 58,000

2.Table Name :Project

Schema :Project(ProjectID, ProjectName)

FD :ProjectID→ ProjectName

ProjectID ProjectName
100A A
100B B
200A AA
200B BB
200C CC
200D DD

3.Table Name :EmployeeProject

Schema: EmployeeProject(ProjectID, EmployeeName)

ProjectID EmployeeName
100A Eric Jones
100A Donna Smith
100B Donna Smith
200A Eric Jones
200B Eric Jones
200C Eric Parks
200C Donna Smith
200D Eric Parks

Related Solutions

Eric exchanges farmland with an adjusted basis of $64,000 for a new acre of farmland with...
Eric exchanges farmland with an adjusted basis of $64,000 for a new acre of farmland with a $100,000 fair market value. In addition, he receives $20,000 of marketable securities. a.   What is the amount of gain realized by Eric? b.   What is the amount of gain recognized by Eric? c.    What is Eric's basis in the new farmland? d.   What is Eric's basis in the marketable securities?
Consider the following project:
Consider the following project:                                Y0         Y1       Y2         Y3         Y4        Y5         Y6         Y7 CF                            $0    –$100   $50        $80     $30       $30       $30     –$60 a) What is the IRR? b) What is the payback time?
Suppose that I have a relation with the following structure, where (EmployeeID, Department) is a composite...
Suppose that I have a relation with the following structure, where (EmployeeID, Department) is a composite primary key. DEPARTMENT (EmployeeID, EmployeeName, Department, TotalSales). Further suppose that the following functional dependencies exist (EmployeeID, Department) → (EmployeeName, TotalSales) EmployeeID → EmployeeName True or False: The above relation is in 2NF. True or False: A relation in second normal form is automatically in third normal form. True or False: If PartNumber → PartWeight, then PartNumber will be unique in a relation.
In a relation to ‘capital structure’ explain the relation between debt financing, equity financing and market...
In a relation to ‘capital structure’ explain the relation between debt financing, equity financing and market value of an organization. Then, provide two different examples of the relation.
A project that provides annual cash flows of $20,000 for 5 years costs $64,000 today. a....
A project that provides annual cash flows of $20,000 for 5 years costs $64,000 today. a. If the required return is 14 percent, what is the NPV for this project?    b. Determine the IRR for this project.
What is Data Fragmentation. Consider the following Student relation. How would you fragment Student relation horizontally...
What is Data Fragmentation. Consider the following Student relation. How would you fragment Student relation horizontally based on Student’s Branch? Give a short discussion of your decision. StudentID Name DoB Branch Course ID Teacher Name 1 Amal 11/02/1998 Abha IT344 Dr Rana 1 Amal 11/02/1998 Abha IT340 Dr Khalid 2 Ahmed 15/11/2000 Jeddah IT210 Dr Ali 3 Aysha 09/09/2000 Riyadh IT344 Dr Rana 4 Bader 05/12/1997 Riyadh IT242 Dr Fahad
On July 1, Jones Corporation had the following capital structure. Common stock , par $1 ;...
On July 1, Jones Corporation had the following capital structure. Common stock , par $1 ; 8,000,000 authorized shares, 170,000 issued and outstanding. $170,000 Additional paid in capital. 110,000 Retained Earning ; 190,000 Treasury stock none Case 1 the board of directores feclaredcavd issued 100 percent stick divend when the stock price was $6 per share. Case 2 the board of directors voted 2-1 stock split. The stock price prior to the split was $6 per share Number of outstanding...
Explain the relation between organization structure and responsibilty centers.
Explain the relation between organization structure and responsibilty centers.
Consider the following relation schema about project meetings: PMG(projID, title, type, manager, jobID, start-date, end-date, contractor,...
Consider the following relation schema about project meetings: PMG(projID, title, type, manager, jobID, start-date, end-date, contractor, contractNo) Some notes on the semantics of attributes are as follows: • Each project has a unique project ID (projID) and also has a title, type and manager. Each manager has a specialty project type. • A project often contracts jobs to contractors with start-date and end-date. Contracts are identified by contract numbers (contractNo), but contract details are out of the scope of the...
Jones Enterprises is looking at a project with the following forecasted sales: first year sales quantity...
Jones Enterprises is looking at a project with the following forecasted sales: first year sales quantity 30,000 with an annual growth rate of 3.2% over the next ten years. The sales price per unit is $42.50 and will grow at 2.25% per year. The production costs are expected to be 50% of the current year’s sales price. The manufacturing equipment to aid this project will have a total cost of $3,000,000. It will be depreciated using MACRS and has a...
ADVERTISEMENT
ADVERTISEMENT
ADVERTISEMENT