Entity-Relationship (E-R) Modeling

Slides:



Advertisements
Similar presentations
Database Design Using the REA Data Model
Advertisements

Entity-Relationship (ER) Modeling
Business Processes, Data Modeling and Information Systems
Data Modeling and the Entity-Relationship Model
Copyright © 2015 Pearson Education, Inc. Database Design Chapters 17 and
Systems Development Life Cycle
Data Modeling is an Analysis Activity
1 © Prentice Hall, 2002 Chapter 3: Modeling Data in the Organization Modern Database Management 6 th Edition Jeffrey A. Hoffer, Mary B. Prescott, Fred.
The REA Enterprise Ontology: Business Process Level Modeling
System Analysis - Data Modeling
Entity Relationship Diagrams Basic Elements and Rules.
Modeling Data The Entity Relationship Model (ER) For Database Design.
Lesson-19 Data Modeling and Analysis
Chapter 3 © 2005 by Prentice Hall 1 Objectives Definition of terms Definition of terms Importance of data modeling Importance of data modeling Write good.
Modern Systems Analysis and Design Third Edition
Ch5: ER Diagrams - Part 2 Much of the material presented in these slides was developed by Dr. Ramon Lawrence at the University of Iowa.
Copyright 2004 Prentice-Hall, Inc. Essentials of Systems Analysis and Design Second Edition Joseph S. Valacich Joey F. George Jeffrey A. Hoffer Chapter.
© 2007 by Prentice Hall (Hoffer, Prescott & McFadden) 1 Entity Relationship Diagrams (ERDs)
1 © Prentice Hall, 2002 CMIS564: E/R Modeling Dr. Bordoloi Based on Chapter 3; Modern Database Management 6 th Edition Jeffrey A. Hoffer, Mary B. Prescott,
1 © Prentice Hall, 2002 Chapter 3: Modeling Data in the Organization Modern Database Management 6 th Edition Jeffrey A. Hoffer, Mary B. Prescott, Fred.
3.1 CSIS 3310 Chapter 3 The Entity-Relationship Model Conceptual Data Modeling.
DeSiamorewww.desiamore.com/ifm1 Database Management Systems (DBMS)  B. Computer Science and BSc IT Year 1.
1. 2 Data Modeling 3 Process of creating a logical representation of the structure of the database The most important task in database development E-R.
Irwin/McGraw-Hill Copyright © 2000 The McGraw-Hill Companies. All Rights reserved Whitten Bentley DittmanSYSTEMS ANALYSIS AND DESIGN METHODS5th Edition.
Chapter 5 Entity–Relationship Modeling
MIS 385/MBA 664 Systems Implementation with DBMS/ Database Management Dave Salisbury ( )
IS 325 Notes for Wednesday September 4, Syllabus Change I eliminated quizzes I increased the points allocated to homework assignments.
The REA Model. The REA model provides structure for developing an accounting database It helps to identify It helps to The REA Model.
Copyright (c) 2014 Pearson Education, Inc. Introduction to Databases.
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.
Technology Review Professor Martin Professor Xiong CSUS This lecture is based primarily on Romney & Steinbart(2003). It also draws on Martin (2002). Updated.
1 Relational Databases and SQL. Learning Objectives Understand techniques to model complex accounting phenomena in an E-R diagram Develop E-R diagrams.
7-1 © Prentice Hall, 2007 Chapter 7: Conceptual Data Modeling Object-Oriented Systems Analysis and Design Joey F. George, Dinesh Batra, Joseph S. Valacich,
Unit 3 Conceptual Data Modeling. Key Concepts Conceptual data modeling process Classes and objects Attributes Identifiers, candidate keys, and primary.
7-1 © Prentice Hall, 2007 Week 5: Conceptual Data Modeling Object-Oriented Systems Analysis and Design Joey F. George, Dinesh Batra, Joseph S. Valacich,
Lecture 4 Conceptual Data Modeling. Objectives Define terms related to entity relationship modeling, including entity, entity instance, attribute, relationship,
DeSiamorePowered by DeSiaMore1 Database Management Systems (DBMS)  B. Computer Science and BSc IT Year 1.
Msigwaemhttp//:msigwaem.ueuo.com/1 Database Management Systems (DBMS)  B. Computer Science and BSc IT Year 1.
1 A Demo of Logical Database Design. 2 Aim of the demo To develop an understanding of the logical view of data and the importance of the relational model.
IT 21103/41103 System Analysis & Design. Chapter 04 Data Modeling.
Jozef Kuper.  Describe a Database  Entities  Atributes  Relationships.
Databases Illuminated Chapter 3 The Entity Relationship Model.
Entity Relationship Modeling
MIS 385/MBA 664 Systems Implementation with DBMS/ Database Management
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)
Levels of Database Modeling High degree of abstraction Conceptual model User view 1 User view 2 Implementa- tion model Physical model Medium degree of.
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.
IS 4420 Database Fundamentals Chapter 3: Modeling Data in the Organization Leon Chen.
ENTITY RELATIONSHIP DIAGRAM. Objectives Define terms related to entity relationship modeling, including entity, entity instances, attribute, relationship.
Database Design Chapters 17 and 18.
Data Modeling Using the ERD
Business System Development
Entity-Relationship Model
Implementing an REA Model in a Relational Database
Entity Relationship Diagram
TMC2034 Database Concept and Design
Tables and Their Characteristics
Accounting Information Systems 9th Edition
Database Design Chapters 17 and 18.
Database Systems Instructor Name: Lecture-9.
Chapter 1: The Database Environment
Database Systems Instructor Name: Lecture-10.
Chapter 3: Modeling Data in the Organization
Entity-Relationship Diagram (ERD)
E.R. Examples.
ER MODELING Instructor: SAMIA ARSHAD
Presentation transcript:

Entity-Relationship (E-R) Modeling Also known as conceptual modeling or semantic modeling Four Basic Constructs: -Entity -Relationship -Attribute -Cardinality -(participation and connection) W.E. McCarthy 2002

ENTITY: Entities are named objects in the universe of discourse Types of entities Thing (truck, building) Person (customer, employee) Event Instant duration (sale, purchase, cash receipt) Extended duration (month-long use of a truck, a course offering that starts on JAN 3 & ends on 16 FEB) Concept (category of customer, course) SYMBOL -- Rectangle Customer Course offering W.E. McCarthy 2002

2. RELATIONSHIP : Association between two (or more ?) entities Examples: employee “assigned to” building customer “participates in” sale professor “teaches” course-offering SYMBOL -- Diamond participates in Customer Sale W.E. McCarthy 2002

3. ATTRIBUTE : Characteristics or elementary properties of entities or relationships. They are used for actual communication about the real world phenomena represented by entities or relationships Example attributes for the entity INVENTORY: stock#, color, price, cost, weight A primary key is a special attribute used to represent an instance of an entity or relationship in a database Must be unique and universal Can be a concatenated (combined key) “No representation without identification” For this class, we assume that relationships are identified by the keys of their participating entities SYMBOL – small connected circle (filled in for primary key) Inventory Stock# Color Price W.E. McCarthy 2002

4. Participation CARDINALITY (min, max): 4. Participation CARDINALITY (min, max): These show the correspondence of entities and relationships A rel B (min, max) Entity “A” participates in relationship “rel” at a maximum of - “1” time (single time only) - “n” times (many times) Entity “A” participates in relationship “rel” at a minimum of - “0” times (optional) - “1” time (mandatory) W.E. McCarthy 2002

4. Participation CARDINALITY (min, max): (other side of relationship) B A rel (min, max) Entity “B” participates in relationship “rel” at a maximum of - “1” time (single time only) - “n” times (many times) Entity “B” participates in relationship “rel” at a minimum of - “0” times (optional) - “1” time (mandatory) W.E. McCarthy 2002

W.E. McCarthy 2002