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

48 | 3. (15 marks) Given the following WorkPlace relation schema, with Ssn as the primary key, answer the questions below. WorkPlace San name locker# rate wage hours 1 Bob 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 3NF?. 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 (i) deleting all tuples in the original table, then (ii) provide one SQL query for deleting the original table schema from your database
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
