Question

Prepare an entity-relationship (ER) diagram using MySQL Workbench for the user requirements described below. Be sure...

Prepare an entity-relationship (ER) diagram using MySQL Workbench for the user requirements described below. Be sure that your ER diagram has the following elements: entities; relationships between entities; primary and foreign keys, and other necessary columns for each entity.

Global Trading (GT) is a wholesale business that sells a variety of products; its customers are other businesses. Also GT's vendors are other businesses. GT has the following business rules for the database that the company wants you to design:

-A product is supplied by one or more vendors and a vendor may supply one or more products.

-Each sales order is prepared by one sales rep (salesrep). Each salesrep can prepare many sales orders.

-A sales order is written for a single customer, though a customer can have many orders.

-A single sales order can be for one or more products ordered.

Besides primary and foreign key columns, the database must be able to store data about the following data items:

-Product name- Customer name, phone number, and balance due

-Date of order- For each sales order, products ordered along with the quantity ordered and price per unit

-Vendor name and phone number- Quantity on hand for each product; vendor who supplied the product

-Salesperson name and phone number

-Some salesreps supervise other salesreps the database should allow identifying who supervises who.

0 0
Add a comment Improve this question Transcribed image text
Know the answer?
Add Answer to:
Prepare an entity-relationship (ER) diagram using MySQL Workbench for the user requirements described below. Be sure...
Your Answer:

Post as a guest

Your Name:

What's your source?

Earn Coins

Coins can be redeemed for fabulous gifts.

Not the answer you're looking for? Ask your own homework help question. Our experts will answer your question WITHIN MINUTES for Free.
Similar Homework Help Questions
  • Q1.a) Based on the business rules, you are expected to construct an Entity-Relationship (ER) diagram. The...

    Q1.a) Based on the business rules, you are expected to construct an Entity-Relationship (ER) diagram. The ER diagram should include entities, attributes (if there are less than three specified in the business statements, please add some extra attributes), identifiers and corresponding data types, the relationships among entities with cardinality and associative entities. .b) Extend Q1.a) to apply generalization/specialization technique to construct an Enhanced-ER (EER) diagram. The EER diagram should specify the complete (total) and disjoint (mutuallyexclusive) constraints on the generalization/specialization....

  • ER Diagram of Online Sale System Product ProductID OrderID DepartmentID Product Name Price Cutomer PK CustomerID...

    ER Diagram of Online Sale System Product ProductID OrderID DepartmentID Product Name Price Cutomer PK CustomerID Order OrderID PK Full Name FK1 FK2 CustomerID StoreID Sales Amount Date Time PK Store StorelD Store Name Consider the ER diagram of online sales system above. Based on the diagram answer the questions below, a) Based on the ER Diagram, determine the Foreign Key in the Product Table. Just mention the name of the attribute that could be the Foreign Key (2 marks]...

  • Design the entity relationship conceptual schema. Depict the ER diagram you have designed, outlining the entity...

    Design the entity relationship conceptual schema. Depict the ER diagram you have designed, outlining the entity types, relationship types, their respectives attributes, keys, structual constraints, and role names. In designing the entity relationship schema, make the initial conceptual design and the neccessary refinements after that. This will be a hospital database hospital, include patients, each patient will be either inpatient or outpatient and have a unique ID, first name, last name, address, city, zip code, phone number, and room number....

  • Using Visio, Create an ERD based on the Crow’s Foot model, using the following requirements These...

    Using Visio, Create an ERD based on the Crow’s Foot model, using the following requirements These are the business rules to build an external model (end user view) of an ERD for our Purchasing Department.    These are our business rules: A PURCHASE ORDER (PO) is issued by a purchasing AGENT. Each AGENT can issue many POs, but each PO is issued by a single AGENT. Each PO is issued to a single VENDOR. However, each VENDOR can have many POs...

  • Sample data is provided for the database for the sales system. Using the sample data, you...

    Sample data is provided for the database for the sales system. Using the sample data, you will determine the entities, key components of the entities, and business rules for the entities. Using the entities and business rules you will then create an ERD. Tasks: 1. For each entity provide the name, description, fields, data type, primary key, and foreign key. 2. For each direct entity type pair, provide the business rules. 3. Provide the ERD. Customer Table Customer ID, Last...

  • Entity relationship diagram (ERD) question: An online food delivery company hires you to design a small...

    Entity relationship diagram (ERD) question: An online food delivery company hires you to design a small database to store information about the online orders. You’re given the following requirements: ⚫ A customer is uniquely identified by his/her email. For each customer, we also record his/her name, phone number and address. The address is composed of suburb and street. ⚫ A rider is uniquely identified by his/her ID. We will keep record of the rider’s age, gender, phone number and available...

  • Create an ERD using Lucid Chart for the following description. Be sure to include all necessary...

    Create an ERD using Lucid Chart for the following description. Be sure to include all necessary entities, attributes, and correct cardinality in relationships between entities. Don’t forget foreign keys. You have been asked to build a database for a technology company called TechNow. The company owner needs to keep track of the customers that buy their products, the employees that work at TechNow, the offices that the employees use, the vendors that provide them with products, and the products themselves....

  • Create an Entity relationship diagram and write a databased design outline for the following: 1. You...

    Create an Entity relationship diagram and write a databased design outline for the following: 1. You want to keep track of sales team’s current sales activity. For each salesperson, you want to store unique employee ID, first name, last name, home address information, phone number, and email address. Your customers are typically retails stores and, for each customer, you want to store customer ID, name of business, phone number, address information and salesperson’s information. Also, for each customer, you want...

  • I need help. Valley Vineyard Conceptual Model Case Read the case then create an entity-relationship diagram...

    I need help. Valley Vineyard Conceptual Model Case Read the case then create an entity-relationship diagram that captures the essence of the problem domain. Identify the entities (diagrammed in a rectangle box) Establish and label the relationships (diagrammed in a diamond) Determine the cardinalities Add the attributes, if you diagram is too busy the attributes can be on a separate page. Be sure to note any assumptions you have made. CASE: Valley Vineyard’s customers are mainly restaurants and wine shops...

ADVERTISEMENT
Free Homework Help App
Download From Google Play
Scan Your Homework
to Get Instant Free Answers
Need Online Homework Help?
Ask a Question
Get Answers For Free
Most questions answered within 3 hours.
ADVERTISEMENT
ADVERTISEMENT