Entity Relationship Diagrams

Slides:



Advertisements
Similar presentations
ER Model For a college DB
Advertisements

Database Fundamentals
Entity Relationship Diagrams
ER Modeling Case Studies
Information System Analysis Lab 7. ERD entity-relationship diagram is a data modeling technique that creates a graphical representation of the entities,
ER Modeling I Exercise Solutions. 2 Solution to Q1.
Basic Symbols.
Concepts of Database Management Sixth Edition
Extended E-R Model: Basic Symbols
Database design concepts info1408 Lecture 8 Worked example of E:R Modelling.
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.
Enhanced ER modeling techniques Transparencies
COURSE REGISTRATION SYSTEM Case study IST2101. Case Study: Course Registration (1) IST2102 You are helping Penn State create a course registration system.
Data Modeling and the Entity-Relationship Model Chapter Four DAVID M. KROENKE’S DATABASE CONCEPTS, 2 nd Edition.
Entity-Relationship Diagrams
DATA MODELING AND DATABASE DESIGN DATA MODELING AND DATABASE DESIGN Part 1.
Entity-Relationship Modeling I The cautious seldom err. Confucius.
Data Modeling and Relational Database Design. Analyze and model the relationships between entities Draw an initial entity relationship diagram Read the.
Chapter 5 1 © Prentice Hall, 2002 Chapter 5: Transforming EER Diagrams into Relations Mapping Regular Entities to Relations 1. Simple attributes: E-R attributes.
ICOM 5016 – Introduction to Database Systems Lecture 4 Dr. Manuel Rodriguez Department of Electrical and Computer Engineering University of Puerto Rico,
FEN  Conceptual modelling: The Entity-Relation (ER) Model Conceptual models Entity – Relation (ER) models.
CSE 441: Systems Analysis & Design
Conceptual Design Lecture - 2 Database Development.
Database Design Sections 6 & 7 Second Normal Form (2NF), Unique Identifiers (UID), Third Normal Form (3NF), Arcs, Hierarchies and Recursive relationships.
Data Modelling – ERD Entity Relationship Diagram’s Entity Relationship Diagrams and how to create them. 1.
ER to Relational Translation COMSATS INSTITUTE OF INFORMATION TECHNOLOGY, VEHARI.
University of Toronto Department of Computer Science © Steve Easterbrook. This presentation is available free for non-commercial use with attribution.
Overview of Database Development Data Modeling and Relational Database Design.
CS 370 Database Systems Lecture 9 The Relational model.
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.
ITEC 3220A Using and Designing Database Systems Instructor: Prof Z. Yang Course Website: 3220a.htm
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.
Entity Relationship Diagrams (ERDs)
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.
Order Database – ER Diagram Prepared by Bryan Borcher Spring 2014.
Model Relationships Read the relationships.
E.R Diagrams Tiffany Shaw 6AQ
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.
Distribution of Marks For Second Semester Internal Sessional Evaluation External Evaluation Assignment /Project QuizzesClass Attendance Mid-Term Test Total.
1 Database Design Sections 6 & 7 First Normal Form (1NF), Second Normal Form (2NF), Unique Identifiers (UID), Third Normal Form (3NF), Arcs, Hierarchies.
DATA MODELING AND DATABASE DESIGN
Entity-Relationship Model
Entity Relationship Diagram
INFM 603: Session 5 Introduction to Databases and Database Design
Enhanced ER Modeling Transparencies
Order Database – ER Diagram
Technical Module A Data Modeling Definitions
Entity-Relationship Modeling "Extended"
LIS 384K.11 Database-Management Principles and Applications
Database Systems Instructor Name: Lecture-11.
Data Modeling and the Entity-Relationship Model
Initial Design of Entity Types: EMPLOYEE, DEPARTMENT, PROJECT, DEPENDENT Gender.
ERD (Entity Relationship Diagrams)
Database Systems Instructor Name: Lecture-9.
Database Systems Instructor Name: Lecture-10.
Relational Database Design by ER- and EER-to-Relational Mapping
Conceptual Data Modeling Using Entities & Relationships
Entity-Relationship Diagram (ERD)
Entity-Relationship (E-R) Modeling
Entity-Relationship Modeling "Extended"
DATA MODELING AND DATABASE DESIGN
Entity-Relationship Modeling "Extended"
Data Modeling and the Entity-Relationship Model
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