Question: Simple Technology, a Kansas based comapny, is working on a project to design and implement a database for tracking employeees, their personal information, and information

Simple Technology, a Kansas based comapny, is working on a project to design and implement a database for tracking employeees, their personal information, and information about projects. Some of the attributes that they want to store in the database is given as a tabular format below.

PCode PTitle PManager PBudget PDept PDuration ENum Ename ECity EZip EDeptNo EDeptName HRate
P1 Payroll Martin 100K Accounting 12 E13 A.Smith Liberty 64068 D4 R&D 22
P1 Payroll Martin 100K Accounting 12 E30 I.Jones Liberty 64068 D3 IT 18.5
P1 Payroll Martin 100K Accounting 12 E31 P Jouet Liberty 64069 D4 R&D 21
P2 Budget Baker 780K Finance 16 E11 R. Ali Liberty 64069 D4 R&D 21
P2 Budget Baker 780K Finance 16 E13 A.Smith Liberty 64068 D4 R&D 18
P2 Budget Baker 780K Finance 16 E9 S. Gilbert Buckner 64076 D5 Management 25.5
P3 Hiring Lewis 100K HR 24 E9 S.Gilbert Buckner 64076 D5 Management 23.25
P3 Hiring Lewis 100K HR 24 E31 P.Jouet Liberty 64069 D4 R&D 17
P4 Millennium Lewis 780K Finance 12 E10 K.Ross Buckner 64076 D8 Sales 17
P5 Millennium Martin 200K HR 12 E27 A.Smith Buckner 64076 D9 Operation 16.5

a) Write all functional dependencies for the above relation

b) Using step-by-step process, normalize the above relation to BCNF. Make sure you go through all normalization steps from 1NF to BCNF. Show your work. Your work must include the following:

i. Indicate all anomalies lead to the violation of each normalization conditions.

ii. List schemas for the final set of relations that are normalized to BCNF. Make sure to indicate all the primary, foreign and surrogate keys (if used) in the final schemas.

iii. Indicate referrential integrity constraint for the final set of schemas

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!