Entity Relationship Modeling BUS112 Professor Kwan.

Slides:



Advertisements
Similar presentations
Information System Analysis Lab 7. ERD entity-relationship diagram is a data modeling technique that creates a graphical representation of the entities,
Advertisements

1 Entity-Relationship Modeling. 2 ER Graphical modeling technique Informal, understandable for laymen Coarse technique to design tables Provides rules.
Database Systems: Design, Implementation, and Management Tenth Edition
Data Modeling (CB 12) CPSC 356 Database Ellen Walker Hiram College (Includes figures from Database Systems by Connolly & Begg, © Addison Wesley 2002)
Entity Relationship (ER) Modeling
Entity Relationship (ER) Modeling
4 1 Chapter 4 Entity Relationship (ER) Modeling Database Systems: Design, Implementation, and Management, Sixth Edition, Rob and Coronel.
Database Systems: Design, Implementation, and Management Eighth Edition Chapter 4 Entity Relationship (ER) Modeling.
Entity Relationship (ER) Modeling
Modeling the Data: Conceptual and Logical Data Modeling
Entity-Relation Modeling Hun Myoung Park, Ph.D., Public Management and Policy Analysis Program Graduate School of International Relations International.
Copyright © 2011 Pearson Education, Inc. Publishing as Pearson Addison-Wesley Chapter 7 Data Modeling Using the Entity- Relationship (ER) Model.
Data Modeling Entity - Relationship Models. Models Used to represent unstructured problems A model is a representation of reality Logical models  show.
Information Resources Management January 30, 2001.
Fundamentals, Design, and Implementation, 9/e COS 346 Day 2.
Chapter 4 Entity Relationship (ER) Modeling
Database Systems: Design, Implementation, and Management Tenth Edition
Chapter 4 Entity Relationship (E-R) Modeling
Entity-Relationship (E-R) Model
Michael F. Price College of Business Chapter 6: Logical database design and the relational model.
CSE314 Database Systems Data Modeling Using the Entity- Relationship (ER) Model Doç. Dr. Mehmet Göktürk src: Elmasri & Navanthe 6E Pearson Ed Slide Set.
Chapter 7 Data Modeling with Entity Relationship Diagrams Database Principles: Fundamentals of Design, Implementation, and Management Tenth Edition.
Database. Basic Definitions Database: A collection of related data. Database Management System (DBMS): A software package/ system to facilitate the creation.
Database Systems: Design, Implementation, and Management Ninth Edition
BIS 360 – Lecture Six (Part 2) Conceptual Data Modeling (Chapter 10 and partial Chapter 12)
1 ER Modeling BUAD/American University Entity Relationship (ER) Modeling.
Entity Relationship Modeling
4 1 Chapter 4 Entity Relationship (ER) Modeling Database Systems: Design, Implementation, and Management, Sixth Edition, Rob and Coronel.
DATABASEMODELSDATABASEMODELS  A database model ◦ defines the logical design of data. ◦ Describes the relationships between different parts of data.
Chapter 2 Data Models Database Systems: Design, Implementation, and Management, Rob and Coronel Adapted for INFS-3200.
Database Design Using Entity-Relationship Models Transformation of Entity-Relationship Models into Relational Database Design Trees, Networks, and Bills.
Database Systems: Design, Implementation, and Management Eighth Edition Chapter 4 Entity Relationship (ER) Modeling.
Chapter 4 Entity Relationship (ER) Modeling.  ER model forms the basis of an ER diagram  ERD represents conceptual database as viewed by end user 
CS 370 Database Systems Lecture 9 The Relational model.
Chapter 11 & 12 Entity-Relationship (E-R) Model Characteristics of E-R Model Components of E-R Model Example of E-R Model Enhanced E-R Model.
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.
3 & 4 1 Chapters 3 and 4 Drawing ERDs October 16, 2006 Week 3.
Chapter 9: Logical Database Design and the Relational Model (ERD Mapping)
IMS 4212: Introduction to Data Modeling—Relationships 1 Dr. Lawrence West, Management Dept., University of Central Florida Relationships—Topics.
Database Systems: Design, Implementation, and Management Ninth Edition Chapter 4 Entity Relationship (ER) Modeling.
AL-MAAREFA COLLEGE FOR SCIENCE AND TECHNOLOGY INFO 232: DATABASE SYSTEMS CHAPTER 4 ENTITY RELATIONSHIP (ER) MODELING Instructor Ms. Arwa Binsaleh 1.
Database Design – Lecture 4 Conceptual Data Modeling.
Chapter 4 Extended Entity-Relationship (EER)Model Incorporates Set-subset Relationships Incorporates Generalization Hierarchies Constraints: Coverage Constraints:
Entity Relationship Diagram (ERD). Objectives Define terms related to entity relationship modeling, including entity, entity instance, attribute, relationship.
2 1 Database Systems: Design, Implementation, & Management, 7 th Edition, Rob & Coronel Data Models Why data models are important About the basic data-modeling.
McGraw-Hill/Irwin Copyright © 2006 by The McGraw-Hill Companies, Inc. All rights reserved. Chapter 6 Modeling the Data: Conceptual and Logical Data Modeling.
Methodology - Logical Database Design. 2 Step 2 Build and Validate Local Logical Data Model To build a local logical data model from a local conceptual.
Department of Mathematics Computer and Information Science1 CS 351: Database Management Systems Christopher I. G. Lanclos Chapter 4.
ENTITY RELATIONSHIP DIAGRAM. Objectives Define terms related to entity relationship modeling, including entity, entity instances, attribute, relationship.
Data Modeling Using the Entity- Relationship (ER) Model
Methodology Logical Database Design for the Relational Model
Tables and Their Characteristics
Database Design – Lecture 4
Entity-Relationship Modelling
Chapter 4 Entity Relationship (ER) Modeling
Entity-Relation Modeling
Database Systems: Design, Implementation, and Management Tenth Edition
Entity – Relationship Model
Entity-Relationship Modelling
Database Systems Instructor Name: Lecture-9.
Database Modeling using Entity Relationship Model (E-R Model)
Systems Analysis – ITEC 3155 Modeling System Requirements – Part 2
Review of Week 1 Database DBMS File systems vs. database systems
Chapter 4 Entity Relationship (ER) Modeling
Entity-Relationship Diagram (ERD)
From conceptual to relational data model
Entity Relationship (ER) Modeling
Chapter # 4 Entity Relationship (ER) Modeling.
Relationships—Topics
Presentation transcript:

Entity Relationship Modeling BUS112 Professor Kwan

2 Entity Relationship Diagram An Entity Relationship Diagram (ERD) is used to represent is used to represent the Entity Relationship Model of a Logical Schema (Logical View) of a Database. It describes in a very macro manner the Entities and Relationships involved in a system. The ERD has been adopted as the standard for documentation and communication in industry (but variations abound).

3 Entity Any distinguishing Object that is to be (or being) represented. “An Object about which we want to record data.” Usually has a Noun as its name. For example, an Employee. Entity Class - A Group of Entities with the same Attributes and are related to each other. For example, Employees.

4 Attribute A Characteristic of an Entity. Usually has an Adjective as its name. Its value must come from the Attribute’s Domain. Domain - described by Type, Size and the set of Possible and Valid values. Entity

5 Relationship Connections or mappings superimposed on the Entities. Could be within or among Entity Classes. Usually has a Verb as its name. Binary Relationships - Basic building blocks. 1 : 1 One to One 1 : M One to Many (Parent/Child) M : N Many to Many Entity Entity

6Relationship 1 : 1 One to One Entity A Entity B Entity A Entity B Entity A Entity B 1 : M One to Many M : N Many to Many to Many

7 The Cardinality of a Relationship Min 0 Max 1 Zero or One (Optional) (0,1) Min 1 Max 1 One and Only One (Mandatory) (1,1) Min 0 Max Many Zero or Many (Optional) (0,N) Min 1 Max Many One or Many (Mandatory) (1,N) Two Notations

8 Some Common Relationship Structures A B A Tree or Hierarchy Each Entity has only one Parent A 1 : M B

9 Some Common Relationship Structures AB C A Simple Network Entities can have more than one Parent A 1 : M C D B D

10 Some Common Relationship Structures A A Complex Network Entities can have more than one Parent A M : N B B

11 Some Common Relationship Structures A A Unary Relationship (1 : M or M : N) Entity is related to Itself A M : N Sometimes called a Recursive or the Bill-of-Material (BOM) Relationship.

12 Bank Database Schema Example

13 Inventory Database Schema Example