Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

WestWorld is a small retail company specializing in selling tech products. The company initially began selling items though a Facebook company page and tracked all

WestWorld is a small retail company specializing in selling tech products. The company initially began selling items though a Facebook company page and tracked all its customer, product and order information via an excel spreadsheet. Due to current COVID-19 situation there has been a surge in online shopping, and this made it more challenging for the company to keep track of customer orders and deliveries. The company has decided to build an online webstore. You have been hired to be part of the IT development team. Your responsible for database design aspect of this project. Given below is the data you have gathered through interviews and documentation. Create an ERD with all entities identified, their respective relationships, indicate type of relationship (use crow foot notation) and list possible attributes.

A customer may place many orders.

An order must be placed by a customer.

An order contains at least one order line.

Each order line is contained in one and only one order. (Discussion: Although a given item such as a headset may be found in many orders, a specific headset sold to a specific customer is found in only one order.)

Each order line has a specific product written in it.

A product may be written in many orders. (Discussion: Many customers can order one or more specific products, but a product that is not in demand may never be sold to a customer and will, therefore, not show up in any order line -- note that ORDER_LINE is optional to PRODUCT. Also, note that each order line may indicate more than one of a specific item. For example, the item may be headset and the number sold may be 1 or 2, or 500.

The ORDER_LINE entity would have at least the following attributes: ORDER_NUM, ORDLINE_NUM, PROD_CODE, ORDLINE_PRICE, ORDLINE_QUANTITY. The ORDER_LINE composite PK would be ORDER_NUM + ORDLINE_NUM. You might add the derived attribute ORDLINE_AMOUNT, which would be the result of multiplying ORDLINE_PRICE and ORDLINE_QUANTITY.)

WestWorld is a small retail company specializing in selling tech products. The company initially began selling items though a Facebook company page and tracked all its customer, product and order information via an excel spreadsheet. Due to current COVID-19 situation there has been a surge in online shopping, and this made it more challenging for the company to keep track of customer orders and deliveries. The company has decided to build an online webstore. You have been hired to be part of the IT development team. Your responsible for database design aspect of this project. Given below is the data you have gathered through interviews and documentation. Create an ERD with all entities identified, their respective relationships, indicate type of relationship (use crow foot notation) and list possible attributes.

A customer may place many orders.

An order must be placed by a customer.

An order contains at least one order line.

Each order line is contained in one and only one order. (Discussion: Although a given item such as a headset may be found in many orders, a specific headset sold to a specific customer is found in only one order.)

Each order line has a specific product written in it.

A product may be written in many orders. (Discussion: Many customers can order one or more specific products, but a product that is not in demand may never be sold to a customer and will, therefore, not show up in any order line -- note that ORDER_LINE is optional to PRODUCT. Also, note that each order line may indicate more than one of a specific item. For example, the item may be headset and the number sold may be 1 or 2, or 500.

The ORDER_LINE entity would have at least the following attributes: ORDER_NUM, ORDLINE_NUM, PROD_CODE, ORDLINE_PRICE, ORDLINE_QUANTITY. The ORDER_LINE composite PK would be ORDER_NUM + ORDLINE_NUM. You might add the derived attribute ORDLINE_AMOUNT, which would be the result of multiplying ORDLINE_PRICE and ORDLINE_QUANTITY.)

MAKE A ERD ITS SUPPER URGENT

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

MySQL/PHP Database Applications

Authors: Jay Greenspan, Brad Bulger

1st Edition

978-0764535376

More Books

Students also viewed these Databases questions

Question

fill in table / answer for B 1 and B 2 pls :)

Answered: 1 week ago