E-R Model (1) IS 240 – Database Management Lecture #5 – 2004-01-29 Prof. M. E. Kabay, PhD, CISSP Norwich University

Slides:



Advertisements
Similar presentations
1 Copyright © 2002 M. E. Kabay. All rights reserved. Information Security on a Budget: Where to Invest First M. E. Kabay, PhD, CISSP Assoc. Prof. Information.
Advertisements

1 Copyright © 2005 M. E. Kabay. All rights reserved. 15:30-16:00 INFORMATION WARFARE Part 4: Assignment Advanced Course in Engineering 2005 Cyber Security.
1 Copyright © 2007 M. E. Kabay. All rights reserved. Using the TRACK CHANGES Features in MS-Word M. E. Kabay, PhD, CISSP-ISSMP CTO & Program Director,
The Relational Model and Normalization (3) IS 240 – Database Management Lecture # Prof. M. E. Kabay, PhD, CISSP Norwich University
The Relational Model and Normalization (1)
Foundations of Relational Implementation (2) IS 240 – Database Management Lecture #14 – Prof. M. E. Kabay, PhD, CISSP Norwich University
Introduction to Database Processing IS 240 – Database Management Lecture #1 – Prof. M. E. Kabay, PhD, CISSP Norwich University
Database Design (1) IS 240 – Database Management Lecture #10 – Prof. M. E. Kabay, PhD, CISSP Norwich University
Foundations of Relational Implementation (1) IS 240 – Database Management Lecture #13 – Prof. M. E. Kabay, PhD, CISSP Norwich University
Database Design (3) IS 240 – Database Management Lecture #12 – Prof. M. E. Kabay, PhD, CISSP Norwich University
The Relational Model and Normalization (2) IS 240 – Database Management Lecture # Prof. M. E. Kabay, PhD, CISSP Norwich University
DB Application Design (1) IS 240 – Database Management Lecture #16 – Prof. M. E. Kabay, PhD, CISSP Norwich University
1 Copyright © 2004 M. E. Kabay. All rights reserved. Database Design (2) IS 240 – Database Management Lecture #11 – Prof. M. E. Kabay, PhD,
Introduction to Database Development (1) IS 240 – Database Management Lecture #3 – Prof. M. E. Kabay, PhD, CISSP Norwich University
Managing Multi-User Databases (2) IS 240 – Database Management Lecture #19 – Prof. M. E. Kabay, PhD, CISSP Norwich University
SQL IS 240 – Database Management Lecture #15 – Prof. M. E. Kabay, PhD, CISSP Norwich University
Introduction to the Course IS301 – Software Engineering Lecture #1 – M. E. Kabay, PhD, CISSP Assoc. Prof. Information Assurance Division of.
Working with MS-ACCESS IS 240 – Database Management Lecture #2 – Assoc. Prof. M. E. Kabay, PhD, CISSP Norwich University
1 Note content copyright © 2004 Ian Sommerville. NU-specific content copyright © 2004 M. E. Kabay. All rights reserved. Software Testing IS301 – Software.
Database Design DB Chapter 5 J.G. Zheng June 29th 2005.
the Entity-Relationship (ER) Model
Lecture plan Outline of DB design process Entity-relationship model
Chapter 6: ER – Entity Relationship Diagram
Entity-Relationship (ER) Modeling
Chapter 2.1 V3.1 Napier University Dr Gordon Russell
Chapter 2 Entity-Relationship Data Modeling: Tools and Techniques
Data Modeling and the Entity-Relationship Model
Data Modeling and the Entity-Relationship Model
Database Lecture Notes Mapping ER Diagrams to Tables 2 Dr. Meg Murray
Data Modeling and the Entity-Relationship Model Chapter Four DAVID M. KROENKE and DAVID J. AUER DATABASE CONCEPTS, 3 rd Edition.
(wrapping up from last week)
Data Modeling and the Entity-Relationship Model
Data Modeling and the Entity-Relationship Model
Chapter Five Data Modeling with the Entity-Relationship Model.
Information Resources Management January 30, 2001.
Fundamentals, Design, and Implementation, 9/e COS 346 Day 2.
Database Design Chapter 2. Goal of all Information Systems  To add value –Reduce costs –Increase sales or revenue –Provide a competitive advantage.
Data Modeling and the Entity-Relationship Model Chapter Four DAVID M. KROENKE and DAVID J. AUER DATABASE CONCEPTS, 5 th Edition.
Systems Analysis and Design in a Changing World, 6th Edition
Chapter Five Data Modeling with the Entity-Relationship Model.
Modern Systems Analysis and Design Third Edition
Data Modeling and the Entity-Relationship Model Chapter Four DAVID M. KROENKE’S DATABASE CONCEPTS, 2 nd Edition.
Copyright 2004 Prentice-Hall, Inc. Essentials of Systems Analysis and Design Second Edition Joseph S. Valacich Joey F. George Jeffrey A. Hoffer Chapter.
Copyright © 2012 Pearson Education, Inc. Publishing as Prentice Hall 7.1.
Data Modeling ERM ERD.
Module Title? Data Base Design 30/6/2007 Entity Relationship Diagrams (ERDs)
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.
Database Processing: Fundamentals, Design and Implementation, 9/e by David M. KroenkeChapter 2/1 Copyright © 2004 Please……. No Food Or Drink in the class.
MIS 3053 Database Design & Applications The University of Tulsa Professor: Akhilesh Bajaj ER Model Lecture 1 © Akhilesh Bajaj, 2000, 2002, 2003, 2004.
Domain Modeling Part1: Entity Relationship Diagram Chapter 4 pp part 1 1.
Data Modeling IST210 Class Lecture.
Lecture 4 Conceptual Data Modeling. Objectives Define terms related to entity relationship modeling, including entity, entity instance, attribute, relationship,
Carnegie Mellon University © Robert T. Monroe Management Information Systems Data Modeling Management Information Systems Robert.
MIS 385/MBA 664 Systems Implementation with DBMS/ Database Management
Chapter 4 The Semantic Object Model David M. Kroenke Database Processing © 2000 Prentice Hall.
The Entity-Relationship Model, P. I R. Nakatsu. Data Modeling A data model is the relatively simple representation, usually graphic, of the structure.
E-R Model (2) IS 240 – Database Management Lecture #6 – Prof. M. E. Kabay, PhD, CISSP Norwich University
ENTITY RELATIONSHIP DIAGRAM. Objectives Define terms related to entity relationship modeling, including entity, entity instances, attribute, relationship.
C_ITIP211 LECTURER: E.DONDO. Unit 4 : DATA MODELING.
Data Modeling and the Entity-Relationship Model
Requirements Become the E-R Data Model
Database Design – Lecture 4
بسم الله الرحمن الرحيم.
Entity Relationship Diagram
Data Modeling and the Entity-Relationship Model
Entity-Relationship Diagram (ERD)
COS 346 Day 3.
ER MODELING Instructor: SAMIA ARSHAD
Data Modeling and the Entity-Relationship Model
Presentation transcript:

E-R Model (1) IS 240 – Database Management Lecture #5 – Prof. M. E. Kabay, PhD, CISSP Norwich University

2 Copyright © 2004 M. E. Kabay. All rights reserved. Topics Entities Attributes Identifiers Relationships Diagrams

3 Copyright © 2004 M. E. Kabay. All rights reserved. Entities What you or the user cares about Entity instance = one particular case Entity class = collection of all cases Examples – discuss instances and classes in University academics Hospital Manufacturing Corner store

4 Copyright © 2004 M. E. Kabay. All rights reserved. Attributes Characteristics, properties Names in text shown with uppercase and lowercase letters FirstName LastName ProductID SourceCode All instances of an entity class have the same attributes

5 Copyright © 2004 M. E. Kabay. All rights reserved. Attributes – contd Give examples of attributes for Students at Norwich Students in Vermont Buildings at Norwich University Buildings in Northfield Composite attribute Several different attributes E.g., [StudentName,StudentID] Usually broken into entities Multi-valued attribute Non-unique E.g., StudentName

6 Copyright © 2004 M. E. Kabay. All rights reserved. Identifiers Attributes that identity entity instances Context-dependent E.g., StudentID, EmployeeNumber, ProductNumber... May be several identifiers possible Unique identifiers – a single instance; e.g., ChemicalFormula Nonunique identifiers – set of instances; e.g., CommercialChemicalName

7 Copyright © 2004 M. E. Kabay. All rights reserved. Relationships Associations among Entity classes; and Entity instances E.g., discuss relationships that may be found among the entity classes of University academics Hospital Bank

8 Copyright © 2004 M. E. Kabay. All rights reserved. Degree of Relationship How many entity classes are bound together? E.g., how many in Sales system for traveling salespeople? Sales system for consulting firm where teams of employees sell to customers? Genealogy charts?

9 Copyright © 2004 M. E. Kabay. All rights reserved. Binary Relationships Two entity classes Very common; e.g., Mother-to-child Employer-to-employee Textbook-to-course Student-to-classroom Three types 1:1 (read one to one) 1:N N:M

10 Copyright © 2004 M. E. Kabay. All rights reserved. Binary Relationships – contd Give examples of 3 types in Drug store Library Social networks Medical diagnosis Exact numbers of entity instances possible are the maximum cardinality of the entity relationship Give the maximum cardinality of Mother:Child PossibleFather:Child

11 Copyright © 2004 M. E. Kabay. All rights reserved. E-R Diagrams Several styles possible Discussed in detail in text pp More in part (2) of lecture series

12 Copyright © 2004 M. E. Kabay. All rights reserved. Homework Using the full SQ3R techniques, study all of Chapter 3 in preparation for next class For 10 points, complete questions and hand in the typewritten (printed) answers by Thu 5 Feb 2004 Continue working on projects in Ferrett et al.

13 Copyright © 2004 M. E. Kabay. All rights reserved. DISCUSSION