Tutorial on E-R Diagrams 1.Learn basic terminology and symbols –See next four slides; refer to as needed in steps 2-4 below 2.Learn the basics of E-R diagramming.

Slides:



Advertisements
Similar presentations
Banking Business Scenario
Advertisements

More Diagramming & Practice with Relationship Modeling
Data Modeling and the Entity-Relationship Model
4 1 Chapter 4 Entity Relationship (ER) Modeling Database Systems: Design, Implementation, and Management, Sixth Edition, Rob and Coronel.
IT420: Database Management and Organization
1 Class Agenda – 09/20/2011  Answer questions about exam  Evaluate database design homework  Review database design homework for syntax and logic 
Fundamentals, Design, and Implementation, 9/e Chapter 3 Entity-Relationship Data Modeling: Process and Examples Instructor: Dragomir R. Radev Fall 2005.
Agenda for Week 1/31 & 2/2 Learn about database design
Modeling Data The Entity Relationship Model (ER) For Database Design.
Chapter Five Data Modeling with the Entity-Relationship Model.
DAVID M. KROENKE’S DATABASE PROCESSING, 10th Edition © 2006 Pearson Prentice Hall 5-1 COS 346 Day 6.
Fundamentals, Design, and Implementation, 9/e COS 346 Day 2.
Database Design Chapter 2. Goal of all Information Systems  To add value –Reduce costs –Increase sales or revenue –Provide a competitive advantage.
Getting Started with Microsoft Visio 2010 Appendix G DAVID M. KROENKE and DAVID J. AUER DATABASE CONCEPTS, 6 th Edition.
CS424 PK, FK, FD Normalization Primary and Foreign Keys Primary and foreign keys are the most basic components on which relational theory is based. Primary.
Copyright 2004 Prentice-Hall, Inc. Essentials of Systems Analysis and Design Second Edition Joseph S. Valacich Joey F. George Jeffrey A. Hoffer Chapter.
APPENDIX C DESIGNING DATABASES
Using ER/Studio.
Entity-Relationship Design
Class Agenda – 04/04/2006 Discuss database modeling issues
Copyright 2004 Prentice-Hall, Inc. Essentials of Systems Analysis and Design Second Edition Joseph S. Valacich Joey F. George Jeffrey A. Hoffer Chapter.
DAVID M. KROENKE’S DATABASE PROCESSING, 10th Edition © 2006 Pearson Prentice Hall 5-1 David M. Kroenke’s Chapter Five: Data Modeling with the Entity-Relationship.
© 2007 by Prentice Hall (Hoffer, Prescott & McFadden) 1 Entity Relationship Diagrams (ERDs)
DeSiamorewww.desiamore.com/ifm1 Database Management Systems (DBMS)  B. Computer Science and BSc IT Year 1.
ICOM 5016 – Introduction to Database Systems Lecture 4 Dr. Manuel Rodriguez Department of Electrical and Computer Engineering University of Puerto Rico,
Chapter 3: Modeling Data in the Organization
Chapter 5 Entity–Relationship Modeling
Copyright 2001 Prentice-Hall, Inc. Essentials of Systems Analysis and Design Joseph S. Valacich Joey F. George Jeffrey A. Hoffer Chapter 6 Structuring.
1 ER Modeling BUAD/American University Entity Relationship (ER) Modeling.
Data Modelling – ERD Entity Relationship Diagram’s Entity Relationship Diagrams and how to create them. 1.
MIS 385/MBA 664 Systems Implementation with DBMS/ Database Management Dave Salisbury ( )
Copyright 2006 Prentice-Hall, Inc. Essentials of Systems Analysis and Design Third Edition Joseph S. Valacich Joey F. George Jeffrey A. Hoffer Chapter.
4 1 Chapter 4 Entity Relationship (ER) Modeling Database Systems: Design, Implementation, and Management, Sixth Edition, Rob and Coronel.
Database Processing: Fundamentals, Design and Implementation, 9/e by David M. KroenkeChapter 3/1 Copyright © 2004 Please……. No Food Or Drink in the class.
XP New Perspectives on Microsoft Office Access 2003, Second Edition- Tutorial 2 1 Microsoft Office Access 2003 Tutorial 2 – Creating And Maintaining A.
Database Design Principles – Lecture 3
McGraw-Hill/Irwin © 2008 The McGraw-Hill Companies, All Rights Reserved Plug-In T5: Designing Database Applications Business Driven Technology.
©Silberschatz, Korth and Sudarshan2.1Database System Concepts Chapter 2: Entity-Relationship Model Entity Sets Relationship Sets Design Issues Mapping.
© 2011 Pearson Education, Inc. Publishing as Prentice Hall 1 Chapter 2: Modeling Data in the Organization.
IS 230Lecture 4Slide 1 Entity Relationship to Relational Model Mapping Lecture 5.
Lecture 4 Conceptual Data Modeling. Objectives Define terms related to entity relationship modeling, including entity, entity instance, attribute, relationship,
Database Design – Lecture 5 Conceptual Data Modeling – adding attributes.
DeSiamorePowered by DeSiaMore1 Database Management Systems (DBMS)  B. Computer Science and BSc IT Year 1.
3 & 4 1 Chapters 3 and 4 Drawing ERDs October 16, 2006 Week 3.
Msigwaemhttp//:msigwaem.ueuo.com/1 Database Management Systems (DBMS)  B. Computer Science and BSc IT Year 1.
1 © Prentice Hall, 2002 Chapter 5: Logical Database Design and the Relational Model Modern Database Management 6 th Edition Jeffrey A. Hoffer, Mary B.
Description and exemplification of entity-relationship modelling.
 An entity-relationship diagram (ERD) is a specialized graphic that illustrates the interrelationships between entities in a database.
Databases Illuminated Chapter 3 The Entity Relationship Model.
Database Design – Lecture 4 Conceptual Data Modeling.
Visio Starter Tutorial Developed from Material by Daniel L. Silver
Information Access Mgt09/12/971 Entity-Relationship Design Information Level Design.
The Entity-Relationship Model, P. I R. Nakatsu. Data Modeling A data model is the relatively simple representation, usually graphic, of the structure.
Chapter 3: Modeling Data in the Organization. Business Rules Statements that define or constrain some aspect of the business Assert business structure.
Entity Relationship Diagram (ERD). Objectives Define terms related to entity relationship modeling, including entity, entity instance, attribute, relationship.
EntityRelationshipDiagrams. Entity Relationship Models The E-R (entity-relationship) data model views the real world as a set of basic objects (entities)
Copyright © 2016 Pearson Education, Inc. Modern Database Management 12 th Edition Jeff Hoffer, Ramesh Venkataraman, Heikki Topi CHAPTER 2: MODELING DATA.
© 2009 Pearson Education, Inc. Publishing as Prentice Hall 1 Chapter 3: Modeling Data in the Organization Modern Database Management 9 th Edition Jeffrey.
Copyright 2002 Prentice-Hall, Inc. Modern Systems Analysis and Design Third Edition Jeffrey A. Hoffer Joey F. George Joseph S. Valacich Chapter 10 Structuring.
ENTITY RELATIONSHIP DIAGRAM. Objectives Define terms related to entity relationship modeling, including entity, entity instances, attribute, relationship.
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.
© 2009 Pearson Education, Inc. Publishing as Prentice Hall 1 Lecture 3: Modeling Data in the Organization Modern Database Management 9 th Edition Jeffrey.
Business System Development
Entity-Relationship Model
Entity-Relationship Model
Database Design – Lecture 4
Lesson Objectives Aims You should know about: 1.3.2:
E.R. Examples.
Entity Relationship (ER) Modeling
Presentation transcript:

Tutorial on E-R Diagrams 1.Learn basic terminology and symbols –See next four slides; refer to as needed in steps 2-4 below 2.Learn the basics of E-R diagramming using Rational software –Start – Programs – Local Applications – IBM Software Development Platform – IBM Rational Software Architect – IBM Rational Software Architect –Follow through the notes in the Word document ( Rational_Software_Architect_Data_Modeling.doc) 3.Learn the basics of E-R diagramming in Visio –See –Or sbacrse\MIS 380\Fall 2007\Hoffer - Additional Templates.htm –Try drawing the diagram in 4 below. 4.Draw a diagram –Draw the diagram on the last slide using both tools

Vendor_ID Invoice_Num Invoice_Date Paid? Qty_Added INVOICE ITEM Includes Is_included_on Entities (Tables) Attributes (Columns) Relationship Terminology and Symbols: Entities, Attributes, Relationship Primary Key (attribute(s) that form(s) a unique identifier for an instance of an entity) is underlined.

Hint: Make the entity with the cardinality = 1 the parent, i.e., start drawing the relationship from that entity. In this example Invoice is the parent, Invoice Item is the child. Includes Is_included_on Cardinality of relationship Cardinality = 1 Cardinality = 1..n Description of relationship from parent perspective (Parent Role – verb phrase) Description of relationship from child perspective (Child Role – verb phrase) INVOICE ITEM Terminology and Symbols: Cardinality (and Role in Rational) Hint: Role descriptions can be entered in “verb phrase” or “inverse verb phrase” in the Properties window in Rational.

Identifying Relationship An identifying or mandatory relationship defines an association between tables (i.e., entities). The identifying relationship establishes the mandatory link between a child table and a parent table. An instance of the child table cannot exist without an instance of the parent table. An example of a parent and child table mandatory relationship is when your database maintains a table with data containing information about customer orders in one table called, Orders, and holds order line-item information in another table called, Order_Details. An instance of the child Order_Details cannot exist without an instance of the parent Orders.

Non-Identifying Relationship A non-identifying relationship specifies an association between two tables (i.e., entities). An instance of each table has its own identity. One type of non-identifying relationship is an optional relationship. Another is mandatory. Use an optional non-identifying relationship when a parent instance is not required. Employees may be assigned to work on projects, and projects may have employees assigned to work on them, but such assignments are optional. “Employee” and “Project” have a non-identifying relationship. Use a mandatory non-identifying relationship when a parent instance is required. If an employee must be assigned to a department, and a department must have at least one employee assigned to it, “Employee” and “Department” have a mandatory non- identifying relationship.

Draw This Diagram with Both Tools Note: This diagram will have a different appearance in Rational. Entities will appear as “tables” with the attributes being “columns” within the “table.” Examples of cardinality are 1 for mandatory and 0..* for optional many. Note: With the Hoffer template and stencil in Visio, use the diamond symbol to show a relationship between entities. Put the name of the relationship in that symbol. (The inverse name may be omitted.) Invoice Item Includes