Entity Relationship Diagrams

Slides:



Advertisements
Similar presentations
ER Modeling Case Studies
Advertisements

Entity Relationship (E-R) Modeling
Slide 1 Insert your own content. Slide 2 Insert your own content.
Database Fundamentals
E-R Model (1) IS 240 – Database Management Lecture #5 – Prof. M. E. Kabay, PhD, CISSP Norwich University
Author: Graeme C. Simsion and Graham C. Witt Chapter 8 Organizing the Data Modeling Task.
Author: Graeme C. Simsion and Graham C. Witt Chapter 6 Primary Keys and Identity.
0 - 0.
DIVIDING INTEGERS 1. IF THE SIGNS ARE THE SAME THE ANSWER IS POSITIVE 2. IF THE SIGNS ARE DIFFERENT THE ANSWER IS NEGATIVE.
Addition Facts
Introduction to SQL 1 Lecture 5. Introduction to SQL 2 Note in different implementations the syntax might slightly differ different features might be.
Advantages and disadvantages, architectures and data models
Problem # Problem #
5.9 + = 10 a)3.6 b)4.1 c)5.3 Question 1: Good Answer!! Well Done!! = 10 Question 1:
1 SA0951a Entity-Relationship Modelling. 2 What is it about? ER model is used to show the Conceptual schema of an organisation. Independent of specific.
Transform an ER Model into a Relational Database Schema
Week 5 Relational Database Design by ER- -to-Relational Mapping.
the Entity-Relationship (ER) Model
Relational Database Design Via ER Modelling
Lab 3 Alternative ER Modelling Pearson Education © 2009.
Past Tense Probe. Past Tense Probe Past Tense Probe – Practice 1.
1 Entity-Relationship Modeling. 2 ER Graphical modeling technique Informal, understandable for laymen Coarse technique to design tables Provides rules.
Addition 1’s to 20.
Model and Relationships 6 M 1 M M M M M M M M M M M M M M M M
Test B, 100 Subtraction Facts
Chapter 12 Enhanced Entity-Relationship Modeling Transparencies © Pearson Education Limited 1995, 2005.
Concepts of Database Management Sixth Edition
Database design concepts info1408 Lecture 8 Worked example of E:R Modelling.
Entity Relationship Modeling BUS112 Professor Kwan.
Database design concepts info1408 Lecture 8 Worked example of E:R Modelling.
Lecture 10 Conversion to tables Database Design Concepts INFO1408.
Copyright © 2004 Pearson Education, Inc.. Chapter 3 Data Modeling Using the Entity-Relationship Model.
Enhanced ER modeling techniques Transparencies
Data Modeling and Relational Database Design. Analyze and model the relationships between entities Draw an initial entity relationship diagram Read the.
Conceptual Design Lecture - 2 Database Development.
ER to Relational Translation COMSATS INSTITUTE OF INFORMATION TECHNOLOGY, VEHARI.
Database Management System
Copyright © 2011 Pearson Education, Inc. Publishing as Pearson Addison-Wesley Chapter 9 Relational Database Design by ER- and EER-to- Relational Mapping.
CS 370 Database Systems Lecture 9 The Relational model.
Lecture 4 Conceptual Data Modeling. Objectives Define terms related to entity relationship modeling, including entity, entity instance, attribute, relationship,
Chapter 9: Logical Database Design and the Relational Model (ERD Mapping)
 An entity-relationship diagram (ERD) is a specialized graphic that illustrates the interrelationships between entities in a database.
Database Design – Lecture 4 Conceptual Data Modeling.
Lecture 03 Entity-Relationship Diagram. Chapter Outline.
Database Development Data Analysis: The Entity Relationship Powered by DeSiaMore1.
Slide 1 Chapter 05 – Part 2 Data Modeling with the Entity-Relationship Model.
Logical Database Design Transparencies 1. ©Pearson Education 2009 Objectives How to create a set of tables from an ER model. How to check that the tables.
Conceptual Modelling The Entity-Relationship (ER) Model The ER diagram Data Modelling.
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.
Advanced Database and Client Server Applications Susan Curtis, Paul Crowther, Alan Houldcroft, Peter Lake, John Whitfield.
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.
DATA MODELING AND DATABASE DESIGN
Entity-Relationship Model
Enhanced Entity-Relationship Modeling
Enhanced Entity-Relationship Modeling
Entity Relationship Diagrams
Enhanced ER Modeling Transparencies
Order Database – ER Diagram
Technical Module A Data Modeling Definitions
Enhanced Entity-Relationship Modeling
IST 318 Database Administration
Initial Design of Entity Types: EMPLOYEE, DEPARTMENT, PROJECT, DEPENDENT Gender.
Database Systems Instructor Name: Lecture-9.
Enhanced Entity-Relationship Modeling Transparencies
Enhanced Entity-Relationship Modeling
Entity-Relationship Diagram (ERD)
Entity-Relationship (E-R) Modeling
Database Dr. Roueida Mohammed.
DATA MODELING AND DATABASE DESIGN
Presentation transcript:

Entity Relationship Diagrams

Entity “An entity is a business object that represents a group, or category of data.”1 Do we know a similar concept? 1) Stephens, R.K. and Plew. R.R., 2001. Database Design. SAMS, Indianapolis , IN.

Attribute “An attribute is a sub-group of information within an entity.”1 Do we know a similar concept? 1) Stephens, R.K. and Plew. R.R., 2001. Database Design. SAMS, Indianapolis , IN.

Entity Relationship Models Mandatory Relationships Optional Relationships Many-to-Many Relationships One-to-Many Relationships One-to-One Relationships Recursive Relationships

Mandatory, Many-to-Many INSTRUCTOR STUDENT INSTRUCTOR STUDENT

Optional, Many-to-Many DEPARTMENT STUDENT DEPARTMENT STUDENT

Optional/Mandatory, Many-to-Many INSTRUCTOR SKILL INSTRUCTOR SKILL

Optional/Mandatory, One-to-Many PRODUCT VENDOR PRODUCT VENDOR

Mandatory, One-to-One AUTOMOBILE ENGINE AUTOMOBILE ENGINE

Recursive EMPLOYEE supervises is supervised by

Resolving Many-to-Many Relationships Many-to-many relationships should be avoided. We can resolve a many-to-many relationship by dividing it into two one-to-many relationships.

Resolving Many-to-Many Relationships SALES ORDERS INV. ITEMS SALES ORDERS INV. ITEMS ORDER ITEMS

Example (ER Diagram) SALES ORDERS INV. ITEMS ORDER ITEMS CLERKS CUSTOMERS