Conceptual Data Modeling

Slides:



Advertisements
Similar presentations
IT420: Database Management and Organization
Advertisements

Entity-Relationship Model
Chapter 5 Understanding Entity Relationship Diagrams.
Entity-Relation Modeling Hun Myoung Park, Ph.D., Public Management and Policy Analysis Program Graduate School of International Relations International.
ISMT221 Information Systems Analysis and Design Entity-Relationship Diagram Lab 4 Tony Tam.
McGraw-Hill/Irwin Copyright © 2007 by The McGraw-Hill Companies, Inc. All rights reserved. Chapter 5 Understanding Entity Relationship Diagrams.
Data Modeling Entity - Relationship Models. Models Used to represent unstructured problems A model is a representation of reality Logical models  show.
Entity-Relationship Model
 An entity-relationship (ER) diagram is a specialized graphic that illustrates the interrelationships between entities in a database.  An Entity Relationship.
UML Unified Modeling Language. What is UML? Unified Modeling Language (UML) is a standardized, general-purpose modeling language in the field of software.
4 1 Chapter 4 Entity Relationship (ER) Modeling Database Systems: Design, Implementation, and Management, Seventh Edition, Rob and Coronel.
1 ER Modeling BUAD/American University Entity Relationship (ER) Modeling.
IS 325 Notes for Wednesday September 4, Syllabus Change I eliminated quizzes I increased the points allocated to homework assignments.
Copyright (c) 2014 Pearson Education, Inc. Introduction to Databases.
Component 4: Introduction to Information and Computer Science Unit 6: Databases and SQL Lecture 2 This material was developed by Oregon Health & Science.
Database Design Principles – Lecture 3
Next Back A-1 Management Information Systems for the Information Age Second Canadian Edition Copyright 2004 The McGraw-Hill Companies, Inc. All rights.
C-1 Management Information Systems for the Information Age Copyright 2004 The McGraw-Hill Companies, Inc. All rights reserved Extended Learning Module.
3 & 4 1 Chapters 3 and 4 Drawing ERDs October 16, 2006 Week 3.
Component 4/Unit 6b Topic II Relational Databases Keys and relationships Data modeling Database acquisition Database Management System (DBMS) Database.
IMS 4212: Introduction to Data Modeling—Relationships 1 Dr. Lawrence West, Management Dept., University of Central Florida Relationships—Topics.
IFS310: Module 6 3/1/2007 Data Modeling and Entity-Relationship Diagrams.
Btec National - Advanced Databases 1 Advanced Databases Entity Relationship Diagrams.
Relational Theory and Design
Database Design – Lecture 4 Conceptual Data Modeling.
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.
Understand Relational Database Management Systems Software Development Fundamentals LESSON 6.1.
Entity Relationship Diagram (ERD). Objectives Define terms related to entity relationship modeling, including entity, entity instance, attribute, relationship.
Btec National - IT SYSTEMS ANALYSIS AND DESIGN 1 IT Systems Analysis and Design Entity Relationship Diagrams.
Microsoft Access 2010 Chapter 11 Database Design.
David M. Kroenke and David J. Auer Database Processing Fundamentals, Design, and Implementation Chapter Five: Data Modeling with the Entity-Relationship.
Ch 05. Basic Symbols ( manino ). Cardinalities Cardinality Notation.
Chapter 5 Understanding Entity Relationship Diagrams.
ENTITY RELATIONSHIP DIAGRAM. Objectives Define terms related to entity relationship modeling, including entity, entity instances, attribute, relationship.
Chapter 3: Modeling Data in the Organization
Database Design Chapters 17 and 18.
TMC2034 Database Concept and Design
Event-driven accounting information systems
Tables and Their Characteristics
Database Design – Lecture 4
Quiz Questions Q.1 An entity set that does not have sufficient attributes to form a primary key is a (A) strong entity set. (B) weak entity set. (C) simple.
CSCI-100 Introduction to Computing
Entity-Relationship Model and Diagrams (continued)
Order Database – ER Diagram
ERD’s REVIEW DBS201.
The 1:M Relationship (continued)
מודל הנתונים.
MIS2502: Data Analytics Relational Data Modeling
Technical Module A Data Modeling Definitions
Entity-Relation Modeling
Database Systems: Design, Implementation, and Management Tenth Edition
Databases and Structured Files: What is a database?
MIS2502: Data Analytics Relational Data Modeling
Database Systems Instructor Name: Lecture-9.
Database Systems Instructor Name: Lecture-10.
Review of Week 1 Database DBMS File systems vs. database systems
Relationships—Topics
CHAPTER 2 - Database Requirements and ER Modeling
Chapter 4 Entity Relationship (ER) Modeling
Database Processing: David M. Kroenke’s Chapter Five:
Entity-Relationship Diagram (ERD)
Guide to Modeling Keys to E-R diagrams.
From conceptual to relational data model
Guide to Modeling Keys to E-R diagrams.
Shelly Cashman: Microsoft Access 2016
Some examples of simple business rules:
© 2008 Pearson Prentice Hall, Experiencing MIS, David Kroenke
Database Design Chapter 7.
Presentation transcript:

Conceptual Data Modeling Concept of ERD Entity Relationship Diagram (ERD) is building block of Relational Database Design It was developed by Peter Chain in 1976

Conceptual Data Modeling Concept of ERD It is end result of Systematic process to visualize Business data not Business Process Its is graphical representation of relationship between things in System

Conceptual Data Modeling Concept of ERD It is end result of Systematic process to visualize Business data not Business Process Its is graphical representation of relationship between things in System

Conceptual Data Modeling Components of ERD Entity Attributes Relationships

Conceptual Data Modeling Entity and Attributes Word is rooted from Latin word “en” meaning being. Entity is name of place, person or thing about which something can be stored in a system

Conceptual Data Modeling Entity and Attributes Attribute are those qualities or data about Entities to be stored. #: Primary Key * : Mandatory 0: Optional

Conceptual Data Modeling Relationships To reduce redundancy in databases , relationships are created between entities Interaction among entities are captures using relationships

Conceptual Data Modeling Relationships Relationship is bi-directional It consist of Optionality (O) and Cardinality (C) R=O + C

Conceptual Data Modeling Optionality Minimum child records that can exist per parent record It can be Zero or One Zero is represented by ----- (dotted line) One by Solid line

Conceptual Data Modeling

Conceptual Data Modeling

Conceptual Data Modeling Cardinality Maximum child records that can exist per parent record It can be One or more Represented by < , >

Conceptual Data Modeling Cardinality Cardinality is read with opposite entity

Conceptual Data Modeling

Conceptual Data Modeling

Conceptual Data Modeling One to Many Relationship This is basic relationship One record of parent entity (table) having zero or more occurrence in child entity (table)

Conceptual Data Modeling One to Many Relationship Primary key of parent table is referenced in Child Table as Foreign Key

Conceptual Data Modeling

Conceptual Data Modeling

Conceptual Data Modeling

Conceptual Data Modeling Many to Many Relationship This is basic not a relationship Third table is created where primary keys of both table are exported as foreign keys

Conceptual Data Modeling Many to Many Relationship One to many is resolved into Two One to Many relationships

Conceptual Data Modeling

Conceptual Data Modeling

Conceptual Data Modeling One-to-One This is A basic relationship There is no parent and child table There is exactly one matching record in two tables

Conceptual Data Modeling One-to-One Primary key of any table exported as Foreign key in any one table Foreign is made is Unique Key

Conceptual Data Modeling

Conceptual Data Modeling Implementing ERD using Scenario – 1

Implementing ERD using Scenario – 1 In a Building – Apartment renting scenario, there are Apartment, building and customer. There are multiple floors in the building and on each floor there are multiple apartments, floor can have zero or no apartment. Each apartment can be rented at most one customer but customer can rent out multiple apartments from same building and apartment can be available on multiple floor or same. At the end of month a recipe is generated against which a rent is deposited

Implementing ERD using Scenario – 1

Conceptual Data Modeling Implementing ERD using Scenario – II

Implementing ERD using Scenario – 1 There are musical bands which record songs and request musical companies to launch their songs in the form of Album. Songs are written by song writers. Album can contain at least one song to be album and max of 12 songs. Writer can write multiple songs but songs are usually written irrespective of the number of person in the bands.

Implementing ERD using Scenario – 1