Database Scenario: Main Street Hardware Inventory & Sales
1. Database Scenario:
Database Scenario:Jack from the local hardware store, Main Street Hardware, has come to
you requesting your database development services. He needs a database that will store
product inventory, including products on hand as well as the vendors from whom he
purchases these products. He also wants to track sales. He describes the business functions
as follows.Customers purchase products creating invoices.Products are purchased from
vendors.The product on hand is tracked so that proper ordering from the vendor can take
place in a timely manner.Business Rules: A customer creates zero or many invoices and zero
or many invoices are created by one and only one customer. Many products are associated
with zero or many invoices. Zero or many invoices are associated with many products.A
vendor sells one or many products and many or zero products are sold by one and only one
vendor.