Presentation is loading. Please wait.

Presentation is loading. Please wait.

Order Database – ER Diagram Prepared by Evan Hollister Spring 2016.

Similar presentations


Presentation on theme: "Order Database – ER Diagram Prepared by Evan Hollister Spring 2016."— Presentation transcript:

1 Order Database – ER Diagram Prepared by Evan Hollister Spring 2016

2 Step 1: Define Entity Classes and Primary Keys Step 2: Define Relationships Among Entity Classes Step 3: Define Attributes for each Table Step 4: Create Database Designing Databases with Entity Relationship Diagrams

3 Entity ClassPrimary Key CUSTOMERCustomerID ORDERSOrderID PRODUCTSProductID ORDERITEMOrderID ProductID Step 1: Define Entity Classes and Primary Keys Business Rules A customer may have no orders. A customer may have multiple orders Each order must have a customer Each order is made by only one customer Each order has at least one product Each order may consist of many products Each product may have multiple orders Each product may have no orders

4 Step 2: Define Relationships Among Entity Classes CUSTOMER PRODUCT ORDER

5 Step 3: Define Attributes for each Table CustomerIDLastNameFirstNameEmailAddressMajor LocationGender CUSTOMER OrderIDCustomerIDOrderDate ORDER ProductIDProductNamePriceBatchSizeDescription PRODUCT OrderIDProductIDQuantity ORDERITEM

6 Step 4: Create Database (DBMS system - Microsoft Access)


Download ppt "Order Database – ER Diagram Prepared by Evan Hollister Spring 2016."

Similar presentations


Ads by Google