Question

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 working periods. Each rider can have multiply available working periods.
⚫ A restaurant is uniquely identified by its ID. For each restaurant, the location, the contact person and the contact number will be recorded. The location is composed of suburb and street.
⚫ Each restaurant must have one or more dishes and each dish must be provided by exact one restaurant. Each dish contains a name, a short description and a price. A dish is uniquely identified by a restaurant ID and a dish ID.
⚫ An order is uniquely identified by an order ID. An order must be created by exact one customer and allocated with exact one rider. A customer can have zero or more orders, but a rider must have delivered at least one order. An order must involve one restaurant, but a customer cannot order from multiple restaurant in one order. For each order, it must contain one or more dishes, and we record the quantities of each dish and the order time. Besides, each restaurant and dish can be included in zero or more orders.


Draw an ER diagram to represent the scenario, clearly state the assumptions you make if any.

0 0
Add a comment Improve this question Transcribed image text
Answer #1

Assumptions: A restaurant can have multiple contact numbers
Every restaurant can have multiple orders and multiple dishes
Every order can be one or more dishes
Each rider can serve one or more orders
A customer can create multiple Orders.

Source of the diagram: ERDPlus

Add a comment
Know the answer?
Add Answer to:
Entity relationship diagram (ERD) question: An online food delivery company hires you to design a small...
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
  • 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...

  • 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...

  • Problem Statement An online music platform, S record, is planning to implement a database to enhance...

    Problem Statement An online music platform, S record, is planning to implement a database to enhance its data management practice and ultimately advance its business operations. The initial planning analysis phases have revealed the following system requirements: Each album has a unique Album ID as well as the following attributes: Album Title, Album Price, and Release Date. An album contains at least one song or more songs. Songs are identified by Song ID. Each song can be contained in more...

  • 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...

  • 1) Create Conceptual Schema Diagram 2) Create a fully attributed Loagical Data Model Diagram 3) Create...

    1) Create Conceptual Schema Diagram 2) Create a fully attributed Loagical Data Model Diagram 3) Create the SQL script that will generate the data model Develop an EER model for the following situation using the traditional EER notation, the Visio notation, or the subtypes inside supertypes notation, as specified by your instructor: Wally Los Gatos and his partner Henry Chordate have formed a new limited partnership, Fin and Finicky Security Consultants. Fin and Finicky consults with corporations to determine their...

  • Design an entity-relationship diagram for the problem statement below - justify any need for null...

    Design an entity-relationship diagram for the problem statement below - justify any need for null values For this project, you must help design and implement a database for an organization whose goal is to promote and support STEM education in your state. Middle/high school teachers and parents of students in such schools (a parent may be an educator too) can become members by paying a yearly fee of $25. Each member is reminded about the need for membership renewal one...

  • Design an entity-relationship diagram for the problem statement below - justify any need for null values...

    Design an entity-relationship diagram for the problem statement below - justify any need for null values For this project, you must help design and implement a database for an organization whose goal is to promote and support STEM education in your state. Middle/high school teachers and parents of students in such schools (a parent may be an educator too) can become members by paying a yearly fee of $25. Each member is reminded about the need for membership renewal one...

  • You are asked to design a data model for The Wagging Tail, an online store that...

    You are asked to design a data model for The Wagging Tail, an online store that sells products for dogs, e.g. dog collars, dog food, dog toys, dog treats, etc. You want to keep track of three entities: (1) the products that the store sells, (2) customers who purchase the products, and (3) the orders that are made on the website. Draw an ERD diagram and use the following information to help guide your drawing: The database should keep track...

  • please use dia to draw the e-r diagram to create Entity - Relationship Diagrams then use MS access This project requires you to create a database design. Your design will be documented in a set o...

    please use dia to draw the e-r diagram to create Entity - Relationship Diagrams then use MS access This project requires you to create a database design. Your design will be documented in a set of Entity-Relationship Crow's Foot diagrams using the representation as shown in the lecture materials. Draw a set of Entity-Relationship diagrams to model the following scenario. The Maggs Realty Company wants to track the Sales Offices that they have across all of Ontario They are interested...

  • 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....

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