Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

The Queen Anne Curiosity Shop project questions in Chapter 3 asked you to create a set of relations to organize and link the Queen Anne

The Queen Anne Curiosity Shop project questions in Chapter 3 asked you to create a set of relations to organize and link the Queen Anne Curiosity Shop typical sales data shown in Figure 3-33 and the typical purchase data shown in Figure 3-34. The set of relations may look like the following:

CUSTOMER (CustomerID, LastName, FirstName, Phone, Email)

SALE (SaleID, CustomerID, InvoiceDate, PreTaxTotal, Tax, Total)

SALE_ITEM (SaleID, SaleItemID, PurchaseID, SalePrice)

PURCHASE (PurchaseID, PurchaseItem, PurchasePrice, PurchaseDate, VendorID)

VENDOR (VendorID, Vendor, Phone)

Use these relations and the data in Figures 3-33 and 3-34 to answer the following questions.

A. Follow the procedure shown in Figure 4-1 to assess these data.

1. List all functional dependencies.

2. List any multivalued dependencies.

3. List all candidate keys.

4. List all primary keys

5. List all foreign keys.

6. State any assumptions you make as you list these components.

B. List questions you would ask the owners of the Queen Anne Curiosity Shop to verify your assumptions. C. If there are any multivalued dependencies, create the tables needed to eliminate these dependencies. D. Do these data have the multivalue, multicolumn problem? If so, how will you deal with it?

E. Do these data have the inconsistent data problem? If so, how will you deal with it?

F. Do these data have a null value data problem? If so, how will you deal with it?

G. Do these data have the general-purpose remarks problem? If so, how will you deal with it

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

SQL Server T-SQL Recipes

Authors: David Dye, Jason Brimhall

4th Edition

1484200616, 9781484200612

More Books

Students also viewed these Databases questions