Answered step by step
Verified Expert Solution
Question
1 Approved Answer
Wholesalers is a wholesale business organization that supplies a variety of products to its retail busines customers ( some of the company's customers include retailers
Wholesalers is a wholesale business organization that supplies a variety of products to its retail busines
customers some of the company's customers include retailers such as Target, WalMart, etc.
Wholesalers has asked you to design a small database segment with the following business rules and
requirements:
When a Wholesalers customer purchases products, an invoice is prepared for the customer. Data
needs to be kept about invoice date along with selling price and quantity of each product sold. A
Wholesalers customer may receive one or more invoices, though each invoice is associated with a
single customer.
Wholesalers also keeps necessary data about its customers and products.
Draw an ER diagram using MySQL Workbench software for the database segment described above.
The ER diagram should contain necessary entities, relationships between entities, and attributes of the
entities. Please make sure that every entity has a primary key. Foreign keys are added by MySQL
workbench automatically when you create relationships. Also, include the following attributes with
entities where they belong:
Product name; product base price; customer name; customer phone number; customer credit limit; date of
invoice; information about products being invoiced including product code, quantity sold ie how many
units of the product the customer bought and product's selling price per unit
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