ER Modeling
Topic:
- Know the symbols and vocabulary of UML notation for ERD
- Use the symbols to represent the Cardinality Classifications: Mandatory, Optional, 1-M, M-N, 1-1
- Understand important relationship patterns: 1-M, M-N, 1-1.
| UML Notation | Crowns Foot Notation | |||
| 0..1 Zero or one1..1 Exactly one0..* Zero or many1..* One or many Staff Entity name staffNo Primary Key | | Mandatory o Optional | One Many CourseNo Primary KeyCrsDesc Required/Not NullCrsUnit Optional/Nullable | |||
| Each entity1 { must be | may be} Relationship | _name {one or more | exactly one} entity2 | |||
| A staff must be assigned to exactly one branch, | A branch must have one or many staffs | |||
| A staff may be assigned to one branch, A branc | h may have one or many staffs | |||
| A staff may be assigned to exactly one branch, A branch must have one or many staffs | ||||
| A staff must be assigned to exactly one branch, | A branch may have one or many staffs | |||
| A staff must be assigned to one or more branch staffs | es, A branch must have one or many | |||
For more information about MySQL Workbench Data Modeling https://dev.mysql.com/doc/workbench/en/wbdatamodeling.html
Question: According to the given requirements of ABC company, please identify entities and its attributes (your design) and draw a Entity-Relationship Diagram (ERD) using MySQL Workbench.
Requirements:
ABC company, a world-wide company, plan to develop a Sales system to keep and manage sales information of the company. To do this, the company assign some IT staffs to design Sales database. The important data are products, customers, orders, employees and offices. The business constraints are in the following.
- Each CUSTOMER must buy one or more ORDERS. Each ORDER must be belonged to exactly one CUSTOMER.
- Each EMPLOYEE must be assigned to exactly one OFFICE. Each OFFICE may has one or more EMPLOYEES.
- Each PRODUCT may be bought by one or more ORDERS. Each ORDER must have one or more PRODUCTS.
- Each EMPLOYEE may be responsible for one or more CUSTOMERS. Each CUSTOMER must be assigned to exactly one EMPLOYEE.
Instructions:
- Save your diagram as a sales_erd_xxxxx.mwb file stored in your computer.
- Save your diagram [Using the menu: Export > Export as PNG] as an image file with file named sales_erd_xxxxx.png and submit the diagram into LEB2 system Note: xxxxx = your student id

![[Solved] INT2005 LAB 6](https://assignmentchef.com/wp-content/uploads/2022/08/downloadzip.jpg)

![[Solved] INT2005 LAB05](https://assignmentchef.com/wp-content/uploads/2022/08/downloadzip-1200x1200.jpg)
Reviews
There are no reviews yet.