Answered step by step
Verified Expert Solution
Link Copied!

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, Wal-Mart, 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 (i.e., 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

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image

Step: 3

blur-text-image

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

Transact SQL Cookbook Help For Database Programmers

Authors: Ales Spetic, Jonathan Gennick

1st Edition

1565927567, 978-1565927568

Students also viewed these Databases questions

Question

Who usually administers a bond sinking fund?

Answered: 1 week ago

Question

2. How will the team select a leader?

Answered: 1 week ago