Question: Structure the following data elements into a relational database structure; indicate the primary and foreign keys for each table you define. Use the answer format


Structure the following data elements into a relational database structure; indicate the primary and foreign keys for each table you define. Use the answer format given below when answering the relational database questions. You may need to add additional fields to be able to properly structure your database: Item number Quantity on hand Customer name Cost Retail Price Shipping address Description Invoice number Billing address Date of sale Terms of sale Credit limit Quantity sold Sale Price Account balance Customer number An example answer table is on the next slide. Table Name Primary Key Foreign Keys Other Attributes Inventory Item Number Cost (standard or list) Description Quantity on Hand Price (standard or list) Sales Invoice Invoice number Customer number Date of sale Terms of sale Sales Invoice- Item number ** *Item number Quantity sold Inventory Invoice number ** *Invoice number Sale Price (actual sales price) Customer number Customer name Shipping address Billing address Credit Limit Account Balance * Individually these are each a foreign key. ** Composite key
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
