1 Entity-Relationship Modeling. 2 ER Graphical modeling technique Informal, understandable for laymen Coarse technique to design tables Provides rules.

Slides:



Advertisements
Similar presentations
Chapter # 4 BIS Database Systems
Advertisements

Lecture plan Outline of DB design process Entity-relationship model
Lab 3 Alternative ER Modelling Pearson Education © 2009.
Group G10 Minh Anderson Thomas Hickerson. Q1: In the crow’s foot notation, entity types are denoted by boxes.
Entity Relationship (ER) Modeling
4 1 Chapter 4 Entity Relationship (ER) Modeling Database Systems: Design, Implementation, and Management, Sixth Edition, Rob and Coronel.
Database Systems: Design, Implementation, and Management Eighth Edition Chapter 4 Entity Relationship (ER) Modeling.
Basic Symbols.
Chapter 5 Understanding Entity Relationship Diagrams.
Translating from ER to Relationship Schema Adapted from Juliana Freire.
Entity-Relation Modeling Hun Myoung Park, Ph.D., Public Management and Policy Analysis Program Graduate School of International Relations International.
Entity Relationship Modeling BUS112 Professor Kwan.
© 2002 by Prentice Hall 1 David M. Kroenke Database Processing Eighth Edition Chapter 3 The Entity- Relationship Model.
SLIDE 1IS Fall 2002 Database Management: Discussion Session University of California, Berkeley School of Information Management and.
CS34311 The Entity- Relationship Model Part II.. CS34312 Database Design Stages Application Requirements Conceptual Design Logical Design Physical Design.
Chapter 4 Entity Relationship (ER) Modeling
Database Systems: Design, Implementation, and Management Tenth Edition
Entity-Relationship (E-R) 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 7 Data Modeling with Entity Relationship Diagrams Database Principles: Fundamentals of Design, Implementation, and Management Tenth Edition.
Entity Relationship Diagrams Objectives s Learn the Elements of the E-R model (entities, attributes, and relationships) s Show how to apply the E-R model.
Copyright (c) 2014 Pearson Education, Inc. Introduction to Databases.
Database Processing: Fundamentals, Design and Implementation, 9/e by David M. KroenkeChapter 2/1 Copyright © 2004 Please……. No Food Or Drink in the class.
4 1 Chapter 4 Entity Relationship (ER) Modeling Database Systems: Design, Implementation, and Management, Sixth Edition, Rob and Coronel.
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.
Database Systems: Design, Implementation, and Management Eighth Edition Chapter 4 Entity Relationship (ER) Modeling.
Chapter 4 Entity Relationship (ER) Modeling.  ER model forms the basis of an ER diagram  ERD represents conceptual database as viewed by end user 
CS 370 Database Systems Lecture 9 The Relational model.
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.
Database Design – Lecture 5 Conceptual Data Modeling – adding attributes.
Chapter 9: Logical Database Design and the Relational Model (ERD Mapping)
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.
Entity Relationship Diagram. Introduction Definition: Entity-relationship diagram is a data-modeling technique that visualises entities, the attributes.
Description and exemplification of entity-relationship modelling.
Database Systems: Design, Implementation, and Management Ninth Edition Chapter 4 Entity Relationship (ER) Modeling.
The E/R model, triggers, HTML5 Reminder … next Tuesday is the first exam. 1.
AL-MAAREFA COLLEGE FOR SCIENCE AND TECHNOLOGY INFO 232: DATABASE SYSTEMS CHAPTER 4 ENTITY RELATIONSHIP (ER) MODELING Instructor Ms. Arwa Binsaleh 1.
Database Design – Lecture 4 Conceptual Data Modeling.
Social Roles and Relationships.
Lecture 03 Entity-Relationship Diagram. Chapter Outline.
DES715 – Database Design Conceptual design. Database Life Cycle Database initial study Database design Implementation Testing Operation Maintenance.
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.
E.R Diagrams Tiffany Shaw 6AQ
Ch 05. Basic Symbols ( manino ). Cardinalities Cardinality Notation.
Database vs File System Integrated Data Reduced Data Duplication Program/Data Independence Easier representation for user Separate/Isolated data Appl.
Chapter 5 Understanding Entity Relationship Diagrams.
Hoi Le. Why database? Spreadsheet is not good to: Store very large information Efficiently update data Use in multi-user mode Hoi Le2.
Department of Mathematics Computer and Information Science1 CS 351: Database Management Systems Christopher I. G. Lanclos Chapter 4.
ENTITY RELATIONSHIP DIAGRAM. Objectives Define terms related to entity relationship modeling, including entity, entity instances, attribute, relationship.
IT 5433 LM3 Relational Data Model. Learning Objectives: List the 5 properties of relations List the properties of a candidate key, primary key and foreign.
Chapter 3: Modeling Data in the Organization
TMC2034 Database Concept and Design
Chen’s Type Guidance.
Database Design – Lecture 4
Figure Specialization Hierarchy
Order Database – ER Diagram
Technical Module A Data Modeling Definitions
Chapter 4 Entity Relationship (ER) Modeling
Database Systems: Design, Implementation, and Management Tenth Edition
Entity – Relationship Model
Databases and Structured Files: What is a database?
ERD (Entity Relationship Diagrams)
Review of Week 1 Database DBMS File systems vs. database systems
Relational Database Design by ER- and EER-to-Relational Mapping
Chapter 4 Entity Relationship (ER) Modeling
E.R. Examples.
Entity Relationship (ER) Modeling
Presentation transcript:

1 Entity-Relationship Modeling

2 ER Graphical modeling technique Informal, understandable for laymen Coarse technique to design tables Provides rules of thumb for mapping to table structures

3 Entities and attributes

4 Relations (associations)

5 Recursive relations With roles

6 Weak entities

ISA-hierarchy

8 Cardinality & optionality ( 0,n) (1,1) optional mandatory

ERD -> relational schema

Solution 1 E1 (K1, A1, …, Am, K2) E2 (K2, B1, …, Bn) Solution 2 E1 (K1, A1, …, Am) E2 (K2, B1, …, Bn, K1)

ERD -> relational schema Solution 3 E1 (K1, A1, …, Am, K2) E2 (K2, B1, …, Bn, K1)

ERD -> relational schema Solution 4 E1 (K1, A1, …, Am) E2 (K2, B1, …, Bn) R (K1, K2)