Create an Entity-Relationship Model to represent the data requirements of the problem given below. Specify the cardinalities of relationships and all-important constraints. Also mention the assumptions if you have made any. A Medical store has many branches throughout country. The data held on each branch is the branch address made up of street, city, and zip code, and telephone number. Each branch is given a branch number, which is unique throughout the country. Each branch is allocated at least one staff member. Each staff member must belong to exactly one branch. The data held on a member of staff is his or her name, position and salary. Each member of staff is given a staff number, which is unique throughout the country. Each branch has a one or many products. A product belongs to exactly one or many branches. The data held on a product is the product number (identifier), title, category, price, and available quantity. Each product is purchased from exactly one vendor. From one vendor one or more than one products can be purchased. There will be no vendor from which none of the product is purchased. For vendor; v_id (identifier), v_name, v_address, and v_contact have to be stored. Vendor can have multiple contact numbers. Purchased date, purchased quantity also has to be stored. A product is sold out to at most one customer.  There are some customers to whom many products are sold out. There will be no customer to whom none of the product is sold out. There are some products which are not sale out to any customer. For sold out event; sale id, sale time, total amount, product number, item number have to be stored. For customer cid, cname and caddress is required to be stored. cid is used as primary key.

Computer Networking: A Top-Down Approach (7th Edition)
7th Edition
ISBN:9780133594140
Author:James Kurose, Keith Ross
Publisher:James Kurose, Keith Ross
Chapter1: Computer Networks And The Internet
Section: Chapter Questions
Problem R1RQ: What is the difference between a host and an end system? List several different types of end...
icon
Related questions
Question

Create an Entity-Relationship Model to represent the data requirements of the problem given below. Specify the cardinalities of relationships and all-important constraints. Also mention the assumptions if you have made any.

A Medical store has many branches throughout country. The data held on each branch is the branch address made up of street, city, and zip code, and telephone number. Each branch is given a branch number, which is unique throughout the country. Each branch is allocated at least one staff member. Each staff member must belong to exactly one branch. The data held on a member of staff is his or her name, position and salary. Each member of staff is given a staff number, which is unique throughout the country. Each branch has a one or many products. A product belongs to exactly one or many branches. The data held on a product is the product number (identifier), title, category, price, and available quantity. Each product is purchased from exactly one vendor. From one vendor one or more than one products can be purchased. There will be no vendor from which none of the product is purchased. For vendor; v_id (identifier), v_name, v_address, and v_contact have to be stored. Vendor can have multiple contact numbers. Purchased date, purchased quantity also has to be stored. A product is sold out to at most one customer.  There are some customers to whom many products are sold out. There will be no customer to whom none of the product is sold out. There are some products which are not sale out to any customer. For sold out event; sale id, sale time, total amount, product number, item number have to be stored. For customer cid, cname and caddress is required to be stored. cid is used as primary key.

 

Expert Solution
steps

Step by step

Solved in 2 steps with 1 images

Blurred answer
Recommended textbooks for you
Computer Networking: A Top-Down Approach (7th Edi…
Computer Networking: A Top-Down Approach (7th Edi…
Computer Engineering
ISBN:
9780133594140
Author:
James Kurose, Keith Ross
Publisher:
PEARSON
Computer Organization and Design MIPS Edition, Fi…
Computer Organization and Design MIPS Edition, Fi…
Computer Engineering
ISBN:
9780124077263
Author:
David A. Patterson, John L. Hennessy
Publisher:
Elsevier Science
Network+ Guide to Networks (MindTap Course List)
Network+ Guide to Networks (MindTap Course List)
Computer Engineering
ISBN:
9781337569330
Author:
Jill West, Tamara Dean, Jean Andrews
Publisher:
Cengage Learning
Concepts of Database Management
Concepts of Database Management
Computer Engineering
ISBN:
9781337093422
Author:
Joy L. Starks, Philip J. Pratt, Mary Z. Last
Publisher:
Cengage Learning
Prelude to Programming
Prelude to Programming
Computer Engineering
ISBN:
9780133750423
Author:
VENIT, Stewart
Publisher:
Pearson Education
Sc Business Data Communications and Networking, T…
Sc Business Data Communications and Networking, T…
Computer Engineering
ISBN:
9781119368830
Author:
FITZGERALD
Publisher:
WILEY