Order Database – ER Diagram Prepared by Bryan Borcher Spring 2014.

Slides:



Advertisements
Similar presentations
Banking Business Scenario
Advertisements

ER Model For a college DB
DirtBike Order Database– ER Diagram Prepared by Shaylee Thar Fall 2012.
Database Design Conceptual –identify important entities and relationships –determine attribute domains and candidate keys –draw the E-R diagram Logical.
© 2008 Prentice Hall Business Publishing Accounting Information Systems, 11/e Romney/Steinbart1 of 121 C HAPTER 16 Implementing an REA Model in a Relational.
SLIDE 1IS Fall 2002 Database Management: Discussion Session University of California, Berkeley School of Information Management and.
Database Design Chapter 2. Goal of all Information Systems  To add value –Reduce costs –Increase sales or revenue –Provide a competitive advantage.
Implementing an REA Model in a Relational Database
Case study Lisa’s Bookstore IST210.
WJEC Applied ICT Databases – Attributes & Entities Entities A database contains one or more related tables. Each table holds all of the information.
1 Nassau Community CollegeProf. Vincent Costa Acknowledgements: Introduction to Database Management, All Rights ReservedIntroduction to Database Management.
Introduction to Databases
Converting ER model Into Relational Table
Introduction to Accounting Information Systems
Conversion from ER diagram to relational model
The REA Model. The REA model provides structure for developing an accounting database It helps to identify It helps to The REA Model.
ER to Relational Translation COMSATS INSTITUTE OF INFORMATION TECHNOLOGY, VEHARI.
Normalization A technique that organizes data attributes (or fields) such that they are grouped to form stable, flexible and adaptive entities.
PLUG IT IN 3 Fundamentals of Relational Database Operations.
What we’ve learnt Doc 5.69 Doc 5.70 Section 1-3. A simple database Related objects Tables hold the data Forms, reports, queries to access the data.
Database Design 1: Introduction and Terminology CS 320.
© Pearson Education Limited, Chapter 7 Entity-Relationship modeling Transparencies.
Customer Order Order Number Date Cust ID Last Name First Name State Amount Tax Rate Product 1 ID Product 1 Description Product 1 Quantity Product 2 ID.
Implementing an REA Model in a Relational Database
DirtBike Order Database– ER Diagram Prepared by (Your Name) Summer 2013.
Prepared by Trevor Scherlin Fall 2012 DIRTBIKE ORDER DATABASE– ER DIAGRAM.
Forms and Subforms 5.02 Understand database queries, forms, and reports used in business.
ITN Table Normalization1 ITN 170 MySQL Database Programming Lecture 3 :Database Analysis and Design (III) Normalization.
An Entity Relationship (ER) Diagram is a graphic that shows the interrelationship between entities in a database.
Btec National - Advanced Databases 1 Advanced Databases Entity Relationship Diagrams.
 An entity-relationship diagram (ERD) is a specialized graphic that illustrates the interrelationships between entities in a database.
Rebecca McCready Faculty of Medical Sciences Newcastle University Lecture 2 – Relationships and Lookup fields.
Prepared by Katie Girmus Fall Step 1: Define Entity Classes and Primary Keys Step 2: Define Relationships Among Entity Classes Step 3: Define Fields.
ENTITY RELATIONSHIP DIAGRAM ENTITY RELATIONSHIP DIAGRAM IS A SPECIALIZED GRAPHIC THAT ILLUSTRATES THE INTERRELATIONSHIPS BETWEEN ENTITIES IN A DATABASE.
Prepared by: Chavda Meet (09IT049) Busa Ankit (09IT035) Guided By: Prof. Komil B. Vora.
Relational Theory and Design
Database Design – Lecture 4 Conceptual Data Modeling.
Order Database – ER Diagram Prepared by Megan Foster Fall Semester 2014.
 Taber Shimono Lilyana Gross Andrea Nelson Chelsea Ball Eric Svendsen Shefflette.
1 ER Modeling BUAD/American University Mapping ER modeling to Relationships.
DirtBike Order Database– ER Diagram Prepared by (Rahul Dhami) Fall 2012.
Entity-Relationship Diagram Presentation Gianna-lee Williams 6AQ Ms. Anderson.
Entity relationship diagram Name: Quian Crosby Form:6AQ Subject: Information Technology Teacher: Ms. D. Anderson.
DirtBike Order Database– ER Diagram Prepared by Dustin Withee Fall 2012.
* Database is a group of related objects * Objects can be Tables, Forms, Queries or Reports * All data reside in Tables * A Row in a Table is a record.
DirtBike Order Database– ER Diagram Prepared by Dyan Strausheim Fall 2012.
Btec National - IT SYSTEMS ANALYSIS AND DESIGN 1 IT Systems Analysis and Design Entity Relationship Diagrams.
Logical Database Design Transparencies 1. ©Pearson Education 2009 Objectives How to create a set of tables from an ER model. How to check that the tables.
IST 220 – Intro to Databases Database Design I. DB Design – Sports League The league needs to keep track of Teams Players Coaches Sponsors How many tables.
E.R Diagrams Tiffany Shaw 6AQ
Test SEITA.
Conversion from ER diagram to relational model 1 ER is a visual model The relational model is a matemathical model.
5 1 Normalization of Database Tables. 5 2 Database Tables and Normalization Normalization –Process for evaluating and correcting table structures to minimize.
Moya messam.  Definition: An entity-relationship (ER) diagram is a specialized graphic that illustrates the interrelationships between entities in a.
Hoi Le. Why database? Spreadsheet is not good to: Store very large information Efficiently update data Use in multi-user mode Hoi Le2.
Lecture 5 Data Model Design Jeffery S. Horsburgh Hydroinformatics Fall 2012 This work was funded by National Science Foundation Grant EPS
IT 5433 LM3 Relational Data Model. Learning Objectives: List the 5 properties of relations List the properties of a candidate key, primary key and foreign.
Order Database – ER Diagram Prepared by Evan Hollister Spring 2016.
DirtBike Order Database– ER Diagram Prepared by William Sircin Fall 2012.
Order Database – ER Diagram
Order Database – ER Diagram
Multiplication table. x
Order Database – ER Diagram
Order Database – ER Diagram
Order Database – ER Diagram
Technical Module A Data Modeling Definitions
5.02 Understand database queries, forms, and reports used in business.
Order Database – ER Diagram
Order Database – ER Diagram
MIS2502: Data Analytics Relational Data Modeling
Presentation transcript:

Order Database – ER Diagram Prepared by Bryan Borcher Spring 2014

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

Entity ClassPrimary Key ORDEROrderID CUSTOMERCustomerID PRODUCTProductID Step 1: Define Entity Classes and Primary Keys Business Rules A customer may have many orders. A customer may have no orders. Each Order has one Customer. Each Order must have a Customer. An Order must have one Product. An Order may have Multiple Products. A Product may have multiple Orders. A Product may have no Orders. There is not a limit to the number of orders a customer may place. Each customer can have one order, multiple orders, or be in your database without any orders. Each order is made by a single customer. Orders must have at least one product. Orders may have multiple products. The same product could be sold through many orders. Products can be listed in your database but not purchased.

Step 2: Define Relationships Among Entity Classes CUSTOMER PRODUCT ORDER

Step 3: Define Attributes for each Table CustomerIDFirstNameLastName AddressPhoneNumber CUSTOMER ProductIDProductNamePriceDescriptionBatchSize Type PRODUCT OrderID[CustomerID]Date ORDER OrderIDProductID Quantity ORDERITEM

Step 3: Define Attributes for each Table CustomerIDName Addressphonenumber CUSTOMER ProductIDProductNamePriceDescriptionBatchSize PRODUCT OrderID[CustomerID]Date[ProductID]Quantity ORDER TypeOrderID

Step 4: Create Database