Database Design & Implementation Workshop 4 – Drawing ER Diagrams

Slides:



Advertisements
Similar presentations
ER Model For a college DB
Advertisements

More Diagramming & Practice with Relationship Modeling
Database Design: ER Modelling (Continued)
Chapter 2.2 V3.0 Napier University Dr Gordon Russell
UML (Sequence Diagrams, Collaboration and State Chart Diagrams) Presentation By - SANDEEP REDDY CHEEDEPUDI (Student No: ) - VISHNU CHANDRADAS (Student.
Entity Relationship (ER) Modeling
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.
Entity Relationship (ER) Modeling
Entity-Relation Modeling Hun Myoung Park, Ph.D., Public Management and Policy Analysis Program Graduate School of International Relations International.
System Analysis - Data Modeling
Copyright © 2011 Pearson Education, Inc. Publishing as Pearson Addison-Wesley Chapter 7 Data Modeling Using the Entity- Relationship (ER) Model.
Database design concepts info1408 Lecture 8 Worked example of E:R Modelling.
Database design concepts info1408 Lecture 8 Worked example of E:R Modelling.
Entity Relationship Diagrams
Chapter 4 Entity Relationship (ER) Modeling
Database Systems: Design, Implementation, and Management Tenth Edition
Chapter 8 Structuring System Data Requirements
Database Design Concepts Lecture 7 Introduction to E:R Modelling Identifying Entities.
Modern Systems Analysis and Design Third Edition
CSCI 6442 Entity-Relation Data Modeling Copyright 2012, David C. Roberts, all rights reserved.
ER Diagram Notation. E-R Diagram: Chen Model Entity – represented by a rectangle with its name in capital letters. Relationships – represented by an active.
ALL students MUST be able to Identify (E) and Describe (D) the 7 most common form of UML diagrams required for OOP. MOST students WILL be able to Explain.
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,
Entity Relationship Modeling Objectives: To illustrate how relationships between entities are defined and refined. To know how relationships are incorporated.
Copyright 2004 Prentice-Hall, Inc. Essentials of Systems Analysis and Design Second Edition Joseph S. Valacich Joey F. George Jeffrey A. Hoffer Chapter.
CSE314 Database Systems Data Modeling Using the Entity- Relationship (ER) Model Doç. Dr. Mehmet Göktürk src: Elmasri & Navanthe 6E Pearson Ed Slide Set.
Chapter 7 Data Modeling with Entity Relationship Diagrams Database Principles: Fundamentals of Design, Implementation, and Management Tenth Edition.
Chapter 5 Entity Relationship (ER) Modelling
Conceptual Design Lecture - 2 Database Development.
Conceptual Design Revision Database Development. Basic constructs of the Entity Relationship Model Entity  Representation of an Entity on an ER diagram.
Chapter 5 Entity–Relationship Modeling
1 ER Modeling BUAD/American University Entity Relationship (ER) Modeling.
DATABASEMODELSDATABASEMODELS  A database model ◦ defines the logical design of data. ◦ Describes the relationships between different parts of data.
Dr Gordon Russell, Napier University Data Analysis 2 - V2.0 1 Data Analysis 2 Unit 2.2.
Chapter 2 Data Models Database Systems: Design, Implementation, and Management, Rob and Coronel Adapted for INFS-3200.
Entity-Relationship Modeling Based on Chapter 12.
CS3773 Software Engineering Lecture 04 UML Class Diagram.
Database Systems: Design, Implementation, and Management Eighth Edition Chapter 4 Entity Relationship (ER) Modeling.
Lecture 4 Conceptual Data Modeling. Objectives Define terms related to entity relationship modeling, including entity, entity instance, attribute, relationship,
3 & 4 1 Chapters 3 and 4 Drawing ERDs October 16, 2006 Week 3.
Database Design & Implementation Workshop 4 - Drawing ER Diagrams Possible Answers for Exercise 1 StaffDepartment M Work in =>
IT 21103/41103 System Analysis & Design. Chapter 04 Data Modeling.
Entity-Relationship (E-R) Diagrams
ERD ( Conceptual data model From the statement of data requirements a conceptual data model is produced. This describes.
 An entity-relationship diagram (ERD) is a specialized graphic that illustrates the interrelationships between entities in a database.
Database Systems: Design, Implementation, and Management Ninth Edition Chapter 4 Entity Relationship (ER) Modeling.
AL-MAAREFA COLLEGE FOR SCIENCE AND TECHNOLOGY INFO 232: DATABASE SYSTEMS CHAPTER 4 ENTITY RELATIONSHIP (ER) MODELING Instructor Ms. Arwa Binsaleh 1.
ERM – A Worked Example. Objectives We will use a simple scenario to: identify the entities involved Identify the relationships between the entities (if.
Use Case Textual Analysis
MIS 3053 Database Design & Applications The University of Tulsa Professor: Akhilesh Bajaj ER Model Lecture 2 © Akhilesh Bajaj, 2000, 2002, 2003, 2004,
Database Design & Implementation Workshop 4 – Drawing ER Diagrams Draw Degree, Type & Participation diagrams that depict each of the following relatively.
Chapter 8 Entity-Relationship Modeling Pearson Education © 2009.
ERD :: 19 / 1 / Entity-Relationship (ER) Modeling. ER Modeling is a top-down approach to database design. Entity Relationship (ER) Diagram –A.
Entity Relationship Modeling
Entity/Relationship Modelling
Entity-Relationship Model
Business Process and Functional Modeling
Entity-Relationship Modelling
Entity-Relationship Modeling
ERD :: 19 / 1 / Entity-Relationship (ER) Modeling. ER Modeling is a top-down approach to database design. Entity Relationship (ER) Diagram –A.
The Process of Object Modeling
Diagramming Sentences Notes
Order Database – ER Diagram
WHAT IS A Use Case Diagram?
What is a Relationship Map?
Entity-Relationship Modelling
Entity-Relationship Diagram (ERD)
System Block Diagram Template
Presentation transcript:

Database Design & Implementation Workshop 4 – Drawing ER Diagrams Draw Degree, Type & Participation diagrams that depict each of the following relatively simple ‘real-world’ situations:  A member of staff must work in a department, and there are many members of staff in each department. Several buses can park in the garage, and each bus may cover any number of routes. Each producer is in charge of several plays and there are several actors appearing in each play. At any one time an actor may be involved in more than one play. An operator can work on many machines and each machine has many operators. Each machine belongs to one department, but a department can have many machines.

ER Diagram Elements Entity Entity = a singular noun, enclosed in a box. Relationship = a solid line, with rounded ends. type => Type = a verb, or verb phrase. NB. MUST indicate the Type in BOTH directions. <= type 1 Degree = only two possibilities. M Compulsion = a vertical line, within an Entity.

Staff Department Work in => 1 M <= Has a) A member of staff must work in a department, and there are many members of staff in each department. Work in => Staff Department 1 M <= Has

b) Several buses can park in the garage, and each bus may cover any number of routes. 1 Bus Garage <= can accommodate 1 => Can be covered by May cover => M Route

c) Each producer is in charge of several plays and there are several actors appearing in each play. At any one time an actor may be involved in more than one play. 1 produces=> M Producer Play <=are produced by 1 is acted by=> M 1 M Actor Act/Play acts in=>

d) An operator can work on many machines and each machine has many operators. Each machine belongs to one department, but a department can have many machines. M m 1 1 <= has <= has dept Mac/op machine Belongs to => M Work on => 1 Example d operator