Consider the below business rules of a consultancy company that has many departments. * Each employee...
Fantastic news! We've Found the answer you've been seeking!
Question:
Transcribed Image Text:
Consider the below business rules of a consultancy company that has many departments. * Each employee belongs to only one department. Each employee has a unique email address. * Each department has one manager and many employees. * Each project is owned by one department. * An employee can work on many projects with different roles but has one role for each project. * A project can have many employees and they can be from different departments. * The progress of projects is evaluated once a week by department managers. The evaluation of a project on a particular date has a rating, which is an integer between 0 (very bad) to 5 (excellent). Consider the below relational database schema of five relations for managing projects of the company. Possibly due to an ER model not well designed or incorrect mapping from the ER to relational model, the database schema is not fully in 3NF and contains data redundancy. Some example tuple is given to explain the meaning of attributes The Project Management Database Department(deptiD, deptName, manager, empID) Employee(empID, empName, deptiD, email) Project(projID, startYear, deptID) EmpProj(empID, projID, role) Evaluation (projID, manager, evalDate, rating) <2, Production', E5, E4> <E5, 'Ann', 4, abc@usa.com> <P3, 2000, 2> <E2', 'P6', Designer> <P3', 'E5, 11-01-2020', 5> Answer following questions: * For each given relation, write down all functional dependencies according to the business rules. If there are no functional dependencies among attributes, you must state so. Do not write redundant or trivial functional dependencies (e.g., Email => Email). * For each given relation, indicate the primary key (underlined) and explain if there are any other candidate keys. Indicate any foreign keys with an asterisk (*). For each relation, write down its highest normal form and state the reasons why it doesn't meet the requirements for the next higher level normal form. This is not required if the relation is in 3NF. 3. For each given relation not in 3NF, decompose it into relations in 3NF. 4. Following results in Question 3, replace relations after decomposition with the newly created relations (relations without decomposition remain unchanged). Merge relations with a common primary key and remove any redundant subset relations. Check if the merged relations are in 3NF and apply further decomposition if needed until all final relations are in 3NF. Write down the final relational database schema and indicate the primary key (underlined) and foreign key(s) (with an asterisk*) in each relation. Consider the below business rules of a consultancy company that has many departments. * Each employee belongs to only one department. Each employee has a unique email address. * Each department has one manager and many employees. * Each project is owned by one department. * An employee can work on many projects with different roles but has one role for each project. * A project can have many employees and they can be from different departments. * The progress of projects is evaluated once a week by department managers. The evaluation of a project on a particular date has a rating, which is an integer between 0 (very bad) to 5 (excellent). Consider the below relational database schema of five relations for managing projects of the company. Possibly due to an ER model not well designed or incorrect mapping from the ER to relational model, the database schema is not fully in 3NF and contains data redundancy. Some example tuple is given to explain the meaning of attributes The Project Management Database Department(deptiD, deptName, manager, empID) Employee(empID, empName, deptiD, email) Project(projID, startYear, deptID) EmpProj(empID, projID, role) Evaluation (projID, manager, evalDate, rating) <2, Production', E5, E4> <E5, 'Ann', 4, abc@usa.com> <P3, 2000, 2> <E2', 'P6', Designer> <P3', 'E5, 11-01-2020', 5> Answer following questions: * For each given relation, write down all functional dependencies according to the business rules. If there are no functional dependencies among attributes, you must state so. Do not write redundant or trivial functional dependencies (e.g., Email => Email). * For each given relation, indicate the primary key (underlined) and explain if there are any other candidate keys. Indicate any foreign keys with an asterisk (*). For each relation, write down its highest normal form and state the reasons why it doesn't meet the requirements for the next higher level normal form. This is not required if the relation is in 3NF. 3. For each given relation not in 3NF, decompose it into relations in 3NF. 4. Following results in Question 3, replace relations after decomposition with the newly created relations (relations without decomposition remain unchanged). Merge relations with a common primary key and remove any redundant subset relations. Check if the merged relations are in 3NF and apply further decomposition if needed until all final relations are in 3NF. Write down the final relational database schema and indicate the primary key (underlined) and foreign key(s) (with an asterisk*) in each relation.
Expert Answer:
Answer rating: 100% (QA)
STEP 1 lets analyze each given relation and apply the necessary steps to reach the 3NF Given Relations 1 DepartmentdeptID deptName manager empID Functional dependencies deptID deptName manager empID d... View the full answer
Related Book For
Database Systems Design Implementation and Management
ISBN: 978-1337627900
13th edition
Authors: Carlos Coronel, Steven Morris
Posted Date:
Students also viewed these databases questions
-
Why is commercial liability insurance often arranged in layers? What are the advantages and the disadvantages? 2. What is the difference between a following form policy and stand-alone excess...
-
Business Process, Inc. (BPI), a consulting company offering business process reengineering and application system development expertise, wants to develop a prototype of a simple University...
-
The NCAA (National Collegiate Athletic Association) wants to develop a database to keep track of information about college basketball. Each university team belongs to only one conference (e.g., the...
-
Lucy has just been promoted to a managerial position and given a new office. She is very fond of small Persian carpets and Native American paintings and wants to get some carpets and paintings for...
-
What is the purpose of the accumulated earnings tax? What is the penalty tax rate that applies to excess accumulated earnings? How does a company avoid this tax?
-
What do you think about the managers and their office pool? Could stereotyping of various employees have contributed to managers inability to see the office pool as inappropriate? Explain your...
-
Referring to the information in Brief Exercise 17-31, record the lessor's journal entries on December 31, 2020, assuming that the lease is properly classified as a sales-type lease. The carrying...
-
Stefani Company has gathered the following information about its product. Direct materials. Each unit of product contains 4.5 pounds of materials. The average waste and spoilage per unit produced...
-
One year ago, your company purchased a machine used in manufacturing for $110,000. You have learned that a new machine is available that offers many advantages; you can purchase it for $140,000...
-
Draw the shear and moment diagrams for the beam, and determine the shear and moment in the beam as functions of x for 0 ¤ x < 4 ft, 4 ft < x < 10 ft, and 10 ft < x < 14 ft. 250 Ib 250 lb 150...
-
What audit procedures does an auditor apply to borrowings and repayments of long-term debt?
-
Which of the following auditing procedures most likely would provide assurance about a manufacturing entity's inventory valuation? a. Testing the entity's computation of standard overhead rates. b....
-
What is depreciation?
-
In an audit of inventories, an auditor would least likely verify that a. All inventory owned by the client is on hand at the time of the count. b. The client has used proper inventory pricing. c. The...
-
State the objectives in the audit of current liabilities.
-
What are other recommendations as to going ahead with ZYX expansion
-
Define a traverse in Surveying?
-
Describe the three data fragmentation strategies. Give some examples of each.
-
Using SQL statements, give some examples of how you would use the data dictionary to monitor the security of the database.
-
Discuss the following assertion: The web is not capable of performing transaction management.
-
Immediately after Parental Times Ltd had acquired control of Offspring One Ltd and Offspring Two Ltd the following balance sheets were drawn up. You are to draw up a consolidated balance sheet....
-
Pop Ltd buys 100 per cent of the shares of Sibling Ltd on 31 December 2002. The balance sheets of the two companies on 31 December 2003 are as shown. You are to draw up a consolidated balance sheet...
-
Dad and Mum Ltd bought 60 per cent of the shares of Child 1 and 2 Ltd on 31 March 2004. The balance sheets of the two companies on 31 March 2005 are as follows. You are to draw up a consolidated...
Study smarter with the SolutionInn App