70 likes | 193 Views
DirtBike Order Database– ER Diagram. Prepared by (Carmen Bonilla) Fall 2012. Designing Databases with Entity Relationship Diagrams. Step 1: Define Entity Classes and Primary Keys. Step 2: Define Relationships Among Entity Classes. Step 3: Define Fields for each Relationship.
E N D
DirtBike Order Database– ER Diagram Prepared by (Carmen Bonilla) Fall 2012
Designing Databases with Entity Relationship Diagrams Step 1: Define Entity Classes and Primary Keys Step 2: Define Relationships Among Entity Classes Step 3: Define Fields for each Relationship Step 4: Create Database
E-R Diagrams Use 5 symbols • Rectangle – entity class • Dotted line – relationship • | - single relationship • 0 – zero/optional relationship • Crow’s foot () – multiple relationship
Step 2: Define Relationships Among Entity Classes CUSTOMER ORDER Detailed Orders DISTRIBUTOR PRODUCT
Step 3: Define Fields for each Relationship Cutomer Order Product Distributor Detailed Orders
Step 4: Create Database (At this point we will begin working with our DBMS system, which will be Microsoft Access)