Question
Consider the previous scenario. Suppose now that the company wants to also build relations that describe its inventory and sales transactions. For the inventory, the
Consider the previous scenario. Suppose now that the company wants to also build relations that describe its inventory and sales transactions. For the inventory, the store keeps track of the following: The product manufacturer name The product model number The number in stock The wholesale price The retail price A manufacturer has many products, each of which has a product number that is unique for that manufacturer. However, two manufacturers could have the same product numbers for some of their products. For the sales transactions, the company tracks the following The customer id of the customer making the sale The date of the sale The product purchased model number The product purchased manufacturer name The price paid including tax Assume that a customer makes only one order on any given day. Develop the schemas for each of the above relations, including primary keys and foreign keys, using only attributes representing the information described above. Note that for the sales transaction relation, you must develop foreign keys that refer to the customer table and the inventory table.
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