Order Database – ER Diagram

Slides:



Advertisements
Similar presentations
Banking Business Scenario
Advertisements

Database Design DB Chapter 5 J.G. Zheng June 29th 2005.
Database Design J.G. Zheng May 19 th Overview Entity Relationship Modeling Data modeling using Entity Relationship Diagram (ERD) Transforming.
Database Lecture Notes Mapping ER Diagrams to Tables 2 Dr. Meg Murray
DirtBike Order Database– ER Diagram Prepared by Shaylee Thar Fall 2012.
Database Fundamentals Lecture 5. The Design Process continued.
Database Design Chapter 2. Goal of all Information Systems  To add value –Reduce costs –Increase sales or revenue –Provide a competitive advantage.
Case study Lisa’s Bookstore IST210.
ER Diagrams, Data Structure Diagrams and Relationship Types using the Footy Tips Database.
MIS 301 Information Systems in Organizations Dave Salisbury ( )
MIS 301 Information Systems in Organizations Dave Salisbury ( )
IT354 Database Design Seminar 5: May 19, 2011 Physical Database Design Entity-Relationship Diagrams.
1 A Guide to MySQL 2 Database Design Fundamentals.
DirtBike Order Database– ER Diagram Prepared by (Your Name) Summer 2013.
Prepared by Trevor Scherlin Fall 2012 DIRTBIKE ORDER DATABASE– ER DIAGRAM.
ITN Table Normalization1 ITN 170 MySQL Database Programming Lecture 3 :Database Analysis and Design (III) Normalization.
Database Management Systems MIT Lesson 02 – Database Design (Entity Relationship Diagram) By S. Sabraz Nawaz.
Prepared by Katie Girmus Fall Step 1: Define Entity Classes and Primary Keys Step 2: Define Relationships Among Entity Classes Step 3: Define Fields.
Order Database – ER Diagram Prepared by Megan Foster Fall Semester 2014.
 Taber Shimono Lilyana Gross Andrea Nelson Chelsea Ball Eric Svendsen Shefflette.
MIS 301 Information Systems in Organizations Dave Salisbury ( )
DirtBike Order Database– ER Diagram Prepared by (Rahul Dhami) Fall 2012.
Entity-Relationship Diagram Presentation Gianna-lee Williams 6AQ Ms. Anderson.
DirtBike Order Database– ER Diagram Prepared by Dustin Withee Fall 2012.
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.
Order Database – ER Diagram Prepared by Bryan Borcher Spring 2014.
E.R Diagrams Tiffany Shaw 6AQ
Order Database – ER Diagram Prepared by Evan Hollister Spring 2016.
DirtBike Order Database– ER Diagram Prepared by William Sircin Fall 2012.
DATA MODELING AND DATABASE DESIGN
CompSci 280 S Introduction to Software Development
Order Database – ER Diagram
Let try to identify the conectivity of these entity relationship
How to: SQL By: Sam Loch.
Information System & Database Design
Database Constraints Ashima Wadhwa.
Database Management Systems II
A Guide to SQL, Eighth Edition
Entity Relationship Model
Order Database – ER Diagram
Basic Database Design COSC 2328 – Web Programming.
MIS2502: Data Analytics Relational Data Modeling
Order Database – ER Diagram
MIS5101: Business Intelligence Relational Data Modeling
Unit 4: Normalization of Relations
MIS2502: Data Analytics SQL – Putting Information Into a Database
Order Database – ER Diagram
Insert, Update, Delete Manipulating Data.
MIS2502: Data Analytics Relational Data Modeling
MIS2502: Review for Exam 1 JaeHwuen Jung
5.02 Understand database queries, forms, and reports used in business.
MIS2502: Data Analytics Converting ERDs to Schemas
Customer Order Entry Database Version: 1.1 by: R. Holowczak
Schema Template Employee Office EmployeeOffice EmployeeID OfficeID
Order Database – ER Diagram
ERD (Entity Relationship Diagrams)
MIS2502: Data Analytics Relational Data Modeling
CHAPTER 4: LOGICAL DATABASE DESIGN AND THE RELATIONAL MODEL
MIS2502: Review for Exam 1 Aaron Zhi Cheng
Entity Relationship Diagram Prepared by: Lobna Morsy
Order Database – ER Diagram
ER Diagram Master How to use this template
MIS2502: Data Analytics Relational Data Modeling
Database Management system
Database Management system
MIS2502: Data Analytics Relational Data Modeling 3
G061 - Data Dictionary.
DATA MODELING AND DATABASE DESIGN
Presentation transcript:

Order Database – ER Diagram Prepared by Greg Ashley Fall 2016

Designing Databases with Entity Relationship Diagrams 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

Step 1: Define Entity Classes and Primary Keys There is not a limit to the number of orders a customer may place. Each customer can have one order, many 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 the database but not ordered by a customer. Step 1: Define Entity Classes and Primary Keys Entity Class Primary Key Customer CustomerID Orders OrderID Product ProductID OrderItem Business Rules Customer may have many orders. 2. Customers may have no orders. 3. Order can only have one customer. 4. Order must have a customer. 5. Orders must have a product. 6. Orders may have many products. 7. Products may be on many orders. 8. Products may not be on any order.

Step 2: Define Relationships Among Entity Classes CUSTOMER ORDER Product

Step 3: Define Attributes for each Table CUSTOMER CustomerID FirstName LastName emailAddress Major Location Gender ORDER ProductID ProductName Price Type Description BatchSize PRODUCT ProductID OrderID Quantity

Step 4: Create Database http://students.uwyo.edu/gashley/IMGT2400/CCCDataBase.accdb