Question

THE QUEEN ANNE CURIOSITY SHOP PROJECT QUESTIONS Figure 2-36 shows typical sales data for the Queen Anne Curiosity Shop, and F
Sample Purchase Data for the Queen Anne Curiosity Shop Purchaseltem Purchase Price PurchaseDate Antique Desk 1,800.00 7-Nov-1
Chapter 2 The Relational Model 133 C. Modify what you consider to be the best design in part B to include surrogate ID col- u
0 0
Add a comment Improve this question Transcribed image text
Answer #1

A.

Functional dependencies:

Phone -> FirstName,LastName

InvoiceItem , InvoiceDate -> Price,Tax

B.

1. Incorrect .LastName can be repeated so cannot be primary key .Item is not functionally dependent on Customer

2. Incorrect .InvoiceItem is not functionally dependent on Customer

3. Incorrect .Item is not functionally dependent on Customer

4. Incorrect . Replication of data exists

5.Incorrect .Item is not functionally dependent on Customer

6.Incorrect . No foreign key

7.Incorrect .A Customer can have many invoices

8.Correct.

C.

Customer(CustomerID , Phone ,FirstName,LastName)

Sale(SaleID , InvoiceItem , InvoiceDate , Price,Tax, CustomerID)

D.

Customer(CustomerID , Phone ,FirstName,LastName)

Sale(SaleID , CustomerID, , InvoiceDate )

SaleItem(SaleID,InvoiceItem,Price,Tax)

underlined are primary keys and italicized are foreign keys.

Do ask if any doubt. Please up-vote.

Add a comment
Know the answer?
Add Answer to:
THE QUEEN ANNE CURIOSITY SHOP PROJECT QUESTIONS Figure 2-36 shows typical sales data for the Queen...
Your Answer:

Post as a guest

Your Name:

What's your source?

Earn Coins

Coins can be redeemed for fabulous gifts.

Not the answer you're looking for? Ask your own homework help question. Our experts will answer your question WITHIN MINUTES for Free.
Similar Homework Help Questions
  • For this option, you will use the Sales and Purchased Items tables below. You are to...

    For this option, you will use the Sales and Purchased Items tables below. You are to develop CREATE TABLE statements for both tables and analyze the two tables for redundancies in the dataset. Finally, you should explain why these two tables are not candidates for a relational model. Sales Table LastName FirstName Phone InvoiceDate InvoiceItem Price Tax Total Shire Robert 206-524-2422 12/14/2017 Antique Desk 3000.00 249.00 3249.00 Shire Robert 206-524-2422 12/14/2017 Antique Desk Chair 500.00 41.50 541.50 Goodyear Katherine 206-524-3544...

  • a. picture b. Using the tables created on the preview question that should be on BCNF...

    a. picture b. Using the tables created on the preview question that should be on BCNF create a SQL statement to denormalize it. Convert the below table up to BCNE Salesinformation LastHarnest Name Phone InvoldeDate Invoice temPrice Tax Total LastName FirstName Phone InvoiceDate Invoiceltem Price Tax T Shire Robert 206-524-2433 14-Dec-13 Antique Desk 3,000.00 249.00 3,249.00 Shire Robert 206-524-2433 14-Dec-13 Antique Desk Chair 500.00 41.50 541.50 Goodyear Katherine 206-524-3544 15-Dec-13 Dining Table Linens 1,000.00 83.00 1.083.00 Bancroft Chris 425-635-9788 15-Dec-13...

ADVERTISEMENT
Free Homework Help App
Download From Google Play
Scan Your Homework
to Get Instant Free Answers
Need Online Homework Help?
Ask a Question
Get Answers For Free
Most questions answered within 3 hours.
ADVERTISEMENT
ADVERTISEMENT
ADVERTISEMENT