Entity-Relationship Diagrams

Slides:



Advertisements
Similar presentations
Chapter 31 Chapter 3 Data Modeling Using the Entity-Relationship Model.
Advertisements

Ch5: ER Diagrams - Part 1 Much of the material presented in these slides was developed by Dr. Ramon Lawrence at the University of Iowa.
Systems Development Life Cycle
Extended E-R Model: Basic Symbols
1 MIS 340: Data Modeling 2 Yong Choi School of Business CSUB.
Ch5: Software Specification. 1 Descriptive specifications  Describe desired properties of system  Three types:
Copyright © 2004 Pearson Education, Inc.. Chapter 3 Data Modeling Using the Entity-Relationship Model.
Chapter 4 ENTITY-RELATIONSHIP MODELLING.
Information Resources Management January 30, 2001.
1 Data Modelling Which data to include in the database.
Chapter 4 Entity-Relationship modeling Transparencies © Pearson Education Limited 1995, 2005.
Database Management COP4540, SCS, FIU Database Modeling Using the Entity-Relationship Model (Chapter 3)
Data Modeling and Entity- Relationship Model I IST2101.
CS 405G Introduction to Database Systems
Entity Relationship Model Chapter 6. Basic Elements of E-R Model Entity Object of the real world that stores data. Eg. Customer, State, Project, Supplier,
Data Modeling and the Entity-Relationship Model Chapter Four DAVID M. KROENKE’S DATABASE CONCEPTS, 2 nd Edition.
Entity-Relationship modeling Transparencies
Yong Choi School of Business CSUB
Chapter 12 Entity-Relationship Modeling Pearson Education © 2009.
© 2007 by Prentice Hall (Hoffer, Prescott & McFadden) 1 Entity Relationship Diagrams (ERDs)
1 © Prentice Hall, 2002 Chapter 3: Modeling Data in the Organization Modern Database Management 7th Edition Jeffrey A. Hoffer, Mary B. Prescott, Fred R.
1 © Prentice Hall, 2002 Chapter 3: Modeling Data in the Organization Modern Database Management 6 th Edition Jeffrey A. Hoffer, Mary B. Prescott, Fred.
1 Web-Enabled Decision Support Systems Entity-Relationship Modeling Prof. Name Position (123) University Name.
Chapter 3 Data Modeling Using the Entity-Relationship (ER) Model.
Chapter 5 1 © Prentice Hall, 2002 Chapter 5: Transforming EER Diagrams into Relations Mapping Regular Entities to Relations 1. Simple attributes: E-R attributes.
Chapter 3: Modeling Data in the Organization
Data Modeling ERM ERD.
Dr. Mohamed Osman Hegaz1 Conceptual data base design: The conceptual models: The Entity Relationship Model.
Entities and Attributes
Converting ER model Into Relational Table
Module Title? Data Base Design 30/6/2007 Entity Relationship Diagrams (ERDs)
Chapter 5 Entity–Relationship Modeling
IS 325 Notes for Wednesday September 4, Syllabus Change I eliminated quizzes I increased the points allocated to homework assignments.
Conceptual Data Modeling, Entity Relationship Diagrams
DATABASEMODELSDATABASEMODELS  A database model ◦ defines the logical design of data. ◦ Describes the relationships between different parts of data.
ER to Relational Translation COMSATS INSTITUTE OF INFORMATION TECHNOLOGY, VEHARI.
© 2011 Pearson Education, Inc. Publishing as Prentice Hall 1 Chapter 2: Modeling Data in the Organization.
1 Relational Databases and SQL. Learning Objectives Understand techniques to model complex accounting phenomena in an E-R diagram Develop E-R diagrams.
© Pearson Education Limited, Chapter 7 Entity-Relationship modeling Transparencies.
Entity-Relationship Modeling Based on Chapter 12.
1 Chapter 11 Entity-Relationship Modeling Transparencies Last Updated: 25 April 2011 By M. Arief
Chapter 12 Entity-Relationship Modeling Pearson Education © 2009.
Initial Design of Entity Types for the COMPANY Database Schema Based on the requirements, we can identify four initial entity types in the COMPANY database:
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.
4 1 Database Systems: Design, Implementation, & Management, 7 th Edition, Rob & Coronel Relationship Degree Indicates number of entities or participants.
Chapter 9: Logical Database Design and the Relational Model (ERD Mapping)
CS 405G: Introduction to Database Systems Lecture 2 : Database Design I.
Database Management Systems MIT Lesson 02 – Database Design (Entity Relationship Diagram) By S. Sabraz Nawaz.
Entity Relationship Diagram. Introduction Definition: Entity-relationship diagram is a data-modeling technique that visualises entities, the attributes.
1 Data Modeling : ER Model…. Lecture Summary so for …. ER Model Entity, Attribute, Key Relationships Instance Diagram.
1 Entity-Relationship Model © Pearson Education Limited 1995, 2005.
Entity-Relationship Model Chapter 3 II COSC 457 Sungchul Hong.
advanced data modeling
Lecture 03 Entity-Relationship Diagram. Chapter Outline.
DatabaseIM ISU1 Fundamentals of Database Systems Chapter 3 Data Modeling Using Entity-Relationship Model.
Chapter 3: Modeling Data in the Organization. Business Rules Statements that define or constrain some aspect of the business Assert business structure.
Entity-Relationship Modeling. 2 Entity Type u Entity type –Group of objects with same properties, identified by enterprise as having an independent existence.
CSE 412/598 DATABASE MANAGEMENT COURSE NOTES 3. ENTITY-RELATIONSHIP CONCEPTUAL MODELING Department of Computer Science & Engineering Arizona State University.
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.
Data Modeling and Entity-Relationship Model I
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.
Copyright © 2011 Pearson Education, Inc. Publishing as Pearson Addison-Wesley Chapter 7 Lecture # 17 July 28,2012 Data Modeling using the Entity Relationship.
ENTITY-RELATIONSHIP MODELLING. Objectives: How to use Entity–Relationship (ER) modelling in database design. Basic concepts associated with ER model.
بسم الله الرحمن الرحيم.
Database Systems Instructor Name: Lecture-9.
Conceptual Data Modeling Using Entities & Relationships
ER MODELING Instructor: SAMIA ARSHAD
Presentation transcript:

Entity-Relationship Diagrams Conceptual Modeling Entity-Relationship Diagrams

E-R Model Constructs Entities Relationships Attributes

E-R Model Notation Entity Attribute One-to-many relationship Many-to-many relationship

Example of Relationship Type COMPLETES EMPLOYEE COURSE A particular employee may complete many courses A particular course may be completed by many employees

Cardinality Constraints A cardinality constraint specifies the number of instances that can, or must, participate in a relationship.

Degree of a Relationship Refers to the number of entity types that participate in the relationship. Unary (degree 1) Binary (degree 2) Ternary (degree 3)

Binary Relationships Relationship between the instances of two entity types.

Example of Binary One-to-One Relationship ASSIGNMENT EMPLOYEE PARKING PLACE A particular employee is assigned one parking place A particular parking place may be assigned to only one employee

Example of Binary One-to-Many Relationship MEMBERSHIP DEPARTMENT EMPLOYEE A particular department consists of many employees A particular employee belongs to one department

Example of Binary Many-to-Many Relationship MEMBERSHIP EMPLOYEE COMMITTEE A particular employee may belong to many committees A particular committee consists of many employees

Unary Relationship A unary relationship, also called a recursive relationship, is a relationship between the instances of a single entity type.

Example of Unary One-to-One Relationship MARRIAGE PERSON A particular person may be married to only one other person

Example of Unary One-to_Many Relationship SUPERVISORY EMPLOYEE A particular employee may supervise many employees A particular employee has only one supervisor

Example of Unary Many-to_Many Relationship BILL_OF_MATERIAL PART A particular part may consist of many component parts A particular part may be the component for many parts

Ternary Relationship A ternary relationship is a simultaneous relationship among the instances of three entity types.

Example of Ternary Many-Many-Many Relationship SKILL EMPLOYEE PROJECT SKILL ASSIGNMENT A particular employee may use a particular skill on many projects In a particular project, a particular skill may be used by many employees A particular employee working on a particular project may use many skills

Another Example of Ternary Many-Many-Many Relationship PART VENDOR WAREHOUSE SUPPLIES A particular part , supplied by a particular vendor, may be stored in many warehouses A particular part, stored in a particular warehouse, may be supplied by many vendors In a particular warehouse, a particular vendor may supply many parts

Example of Ternary Many-Many-One Relationship SEMESTER INSTRUCTOR COURSE TEACHES In a particular semester, a particular instructor may teach many courses A particular instructor may teach a particular course in many semesters In a particular semester, a particular course is taught by only one instructor

Comparing Notation BELONGS_TO EMPLOYEE DEPARTMENT Belongs EMPLOYEE To Consists_of

Example of Composite Attribute