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.
DirtBike Order Database– ER Diagram Prepared by Shaylee Thar Fall 2012.
1 Database Design and Development: A Visual Approach © 2006 Prentice Hall Chapter 2 Relational Theory DATABASE DESIGN AND DEVELOPMENT: A VISUAL APPROACH.
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.
CITY UNIVERSITY / Vysoká Škola Manažmentu.:IS Information Systems :. © Martina Cesalova, 2005 MS ACCESS 1 Start Microsoft Access – New - Blank Database.
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.
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.
DirtBike Order Database– ER Diagram Prepared by Dustin Withee Fall 2012.
DirtBike Order Database– ER Diagram Prepared by Dyan Strausheim Fall 2012.
Order Database – ER Diagram Prepared by Bryan Borcher Spring 2014.
Chapter 4, Part A: Logical Database Design and the Relational Model
Order Database – ER Diagram Prepared by Evan Hollister Spring 2016.
DirtBike Order Database– ER Diagram Prepared by William Sircin Fall 2012.
DBM 380 Week 3 Individual Assignment ERD Creation Project The following assignment refers to material found in the Virtual Organizations. Create a detailed.
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.
Chapter 1 Introduction.
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
Logical Data Modeling.
Unit 4: Normalization of Relations
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
MIS3500 * Asper School of Business * Travica
RELATIONAL DATABASES AND XML
Customer Order Entry Database Version: 1.1 by: R. Holowczak
Mail Order.
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.
Presentation transcript:

Order Database – ER Diagram Prepared by Channing Downing Spring 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, 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 the database but not ordered by a customer. Entity Class Primary Key CUSTOMER CustomerID ORDER OrderID PRODUCT ProductID Business Rules 1. Customers can have multiple orders 2. Customers may no orders 3. Each order has one customer 4.Each order must have a customer 5. An order can have multiple products 6. An order must have 1 product 7. A product can have multiple orders 8. A product that has no orders

Step 2: Define Relationships Among Entity Classes Customer Order Product

Step 2: Define Relationships Among Entity Classes Customer Order ORDERITEM Product

Step 2: Define Relationships Among Entity Classes Customer Order ORDERITEM Product

Step 2: Define Relationships Among Entity Classes Business Rules 1. Customers can have multiple orders 2. Customers may no orders 3. Each order has one customer 4.Each order must have a customer 5. An order can have multiple products 6. An order must have 1 product 7. A product can have multiple orders 8. A product that has no orders Customer 2 1 3 4 Order 7 8 6 5 Product Won’t need this slide

Step 3: Define Attributes for each Table CUSTOMER CustomerID LastName FirstName Email Address ORDER OrderID CustomerID Product SerialNumber PRODUCT ProductID AmountOrdered OrderID ORDERITEM OrderID ProductID

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

(DBMS system - Microsoft Access) Step 4: Create Database http://students.uwyo.edu/cdownin2/IMGT2400/CowboyCookies.accdb (DBMS system - Microsoft Access)