Answered step by step
Verified Expert Solution
Question
1 Approved Answer
Using these data, investigate possible functional dependencies among the columns of data. Justify your assumptions on the basis of these sample data and also on
- Using these data, investigate possible functional dependencies among the columns of data. Justify your assumptions on the basis of these sample data and also on the basis of what you know about retail sales.
List 5 possible functional dependencies from the sample sales data:
List 5 possible functional dependencies from the sample purchase data:
- Given your assumptions in part A, comment on the appropriateness of the following designs (are they good or not and why?):
- CUSTOMER (LastName, FirstName, Phone, EmailAddress, InvoiceDate, InvoiceItem, Price, Tax, Total)
- CUSTOMER (LastName, FirstName, Phone, EmailAddress, InvoiceDate, InvoiceItem, Price, Tax, Total)
- CUSTOMER (LastName, FirstName, Phone, EmailAddress, InvoiceDate, InvoiceItem, Price, Tax, Total
- CUSTOMER (LastName, FirstName, Phone, EmailAddress, InvoiceDate, InvoiceItem, Price, Tax, Total
- CUSTOMER (LastName, FirstName, Phone, EmailAddress, InvoiceDate, InvoiceItem, Price, Tax, Tota
- CUSTOMER (LastName, FirstName, Phone, EmailAddress)
and:
SALE (InvoiceDate, InvoiceItem, Price, Tax, Total)
- CUSTOMER (LastName, FirstName, Phone, EmailAddress, InvoiceDate)
and:
SALE (InvoiceDate, InvoiceItem, Price, Tax, Total)
- CUSTOMER (LastName, FirstName, Phone, EmailAddress, InvoiceDate, InvoiceItem)
and:
SALE (InvoiceDate, InvoiceItem, Price, Tax, Total)
- Modify what you consider to be the best design in part B to include surrogate ID columns called CustomerID and SaleID. How does this improve the design?
The resulting Tables are:
Step by Step Solution
There are 3 Steps involved in it
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started