Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

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

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 4

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.

b. Provide one valid tuple instance that can be inserted into this original database.

c. Provide one SQL query for updating a record in the original table.

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

Step: 1

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image

Step: 3

blur-text-image

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

Joe Celkos Data And Databases Concepts In Practice

Authors: Joe Celko

1st Edition

1558604324, 978-1558604322

More Books

Students also viewed these Databases questions

Question

5. Discuss the key components of behavior modeling training.

Answered: 1 week ago