Question: 3. (15 marks) Given the following WorkPlace relation schema, with Ssn as the primary key, answer the questions below. WorkPlace Ssn name locker rate wage

 3. (15 marks) Given the following WorkPlace relation schema, with Ssnas the primary key, answer the questions below. WorkPlace Ssn name locker

3. (15 marks) Given the following WorkPlace relation schema, with Ssn as the primary key, answer the questions below. WorkPlace Ssn name locker rate wage hours 1 Bob 48 7 20 40 2 Bill 22 7 20 30 3 Pat 35 5 10 30 4 Tony 35 5 10 32 5 Namdi 35 7 20 40 a. Is this table in 3NE?, If not in 3NF, explain using functional dependencies (FDs) and normalize it into 3NF showing all the tables in your new decomposed database and the new FDs (6 marks) b. Provide one valid tuple instance that can be inserted into this original database. (3 marks) c. Provide one SQL query for updating a record in the original table. (3 marks) d. Provide one SQL query for deleting all tuples in the original table, then (11) provide one SQL query for deleting the original table schema from your database. (3 marks) Question Answers a. (6 marks) Is this table in 3NF? Explain with FDs Normalize into 3NF showing all tables New FDs b. (3 marks) C. (3 marks) d. (3 marks) Note there are two sub questions in this d section. 11 3. (15 marks) Given the following WorkPlace relation schema, with Ssn as the primary key, answer the questions below. WorkPlace Ssn name locker rate wage hours 1 Bob 48 7 20 40 2 Bill 22 7 20 30 3 Pat 35 5 10 30 4 Tony 35 5 10 32 5 Namdi 35 7 20 40 a. Is this table in 3NE?, If not in 3NF, explain using functional dependencies (FDs) and normalize it into 3NF showing all the tables in your new decomposed database and the new FDs (6 marks) b. Provide one valid tuple instance that can be inserted into this original database. (3 marks) c. Provide one SQL query for updating a record in the original table. (3 marks) d. Provide one SQL query for deleting all tuples in the original table, then (11) provide one SQL query for deleting the original table schema from your database. (3 marks) Question Answers a. (6 marks) Is this table in 3NF? Explain with FDs Normalize into 3NF showing all tables New FDs b. (3 marks) C. (3 marks) d. (3 marks) Note there are two sub questions in this d section. 11

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!