Extended E-R Model: Basic Symbols

Slides:



Advertisements
Similar presentations
Systems Development Life Cycle
Advertisements

Basic Symbols.
1 © Prentice Hall, 2002 Chapter 3: Modeling Data in the Organization Modern Database Management 6 th Edition Jeffrey A. Hoffer, Mary B. Prescott, Fred.
Database Design & Mapping
Chapter 3: Modeling Data in the Organization
Information Resources Management February 13, 2001.
First class agenda Introductions Course overview Password protected items will use inls258 / WeR258! as the userid/password.
CHAPTER 2: MODELING DATA IN THE ORGANIZATION © 2013 Pearson Education, Inc. Publishing as Prentice Hall 1 Modern Database Management 11 th Edition Jeffrey.
Chapter Five Data Modeling with the Entity-Relationship Model.
Chapter 2: Entity-Relationship Model (Continued)
Entity-Relationship (E-R) Model
Database Management COP4540, SCS, FIU Database Modeling Using the Entity-Relationship Model (Chapter 3)
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,
 Keys are special fields that serve two main purposes: ◦ Primary keys are unique identifiers of the relation in question. Examples include employee numbers,
Data Modeling and the Entity-Relationship Model Chapter Four DAVID M. KROENKE’S DATABASE CONCEPTS, 2 nd Edition.
Entity-Relationship Diagrams
© 2007 by Prentice Hall (Hoffer, Prescott & McFadden) 1 Entity Relationship Diagrams (ERDs)
1 © Prentice Hall, 2002 Chapter 3: Modeling Data in the Organization Modern Database Management 6 th Edition Jeffrey A. Hoffer, Mary B. Prescott, Fred.
1 Web-Enabled Decision Support Systems Entity-Relationship Modeling Prof. Name Position (123) University Name.
3.1 CSIS 3310 Chapter 3 The Entity-Relationship Model Conceptual Data Modeling.
DeSiamorewww.desiamore.com/ifm1 Database Management Systems (DBMS)  B. Computer Science and BSc IT Year 1.
Chapter 3 Data Modeling Using the Entity-Relationship (ER) 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.
ICOM 5016 – Introduction to Database Systems Lecture 4 Dr. Manuel Rodriguez Department of Electrical and Computer Engineering University of Puerto Rico,
Chapter 3: Modeling Data in the Organization
Week 4 Lecture Conceptual Data Modeling
Database System Concepts, 5th Ed. Chapter 6: Entity-Relationship Model.
Converting ER model Into Relational Table
Chapter 2: Modeling Data in the Organization
MIS 385/MBA 664 Systems Implementation with DBMS/ Database Management Dave Salisbury ( )
Entity Relationship Modeling
Lecture On Database Analysis and Design By- Jesmin Akhter Lecturer, IIT, Jahangirnagar University.
Conceptual Data Modeling, Entity Relationship Diagrams
DATABASEMODELSDATABASEMODELS  A database model ◦ defines the logical design of data. ◦ Describes the relationships between different parts of data.
ER to Relational Translation COMSATS INSTITUTE OF INFORMATION TECHNOLOGY, VEHARI.
© 2011 Pearson Education, Inc. Publishing as Prentice Hall 1 Chapter 2: Modeling Data in the Organization.
Chapter 7 Database Design and The E–R Model. 2 Goals n Facilitate DB design and represent the overall logical structure of the DB. n Definition Entities.
© Pearson Education Limited, Chapter 7 Entity-Relationship modeling Transparencies.
EXAMPLE. Subclasses and Superclasses Entity type may have sub-grouping that need to be represented explicitly. –Example: Employee may grouped into.
©Silberschatz, Korth and Sudarshan2.1Database System Concepts DB Schema Design: the Entity-Relationship Model What’s the use of the E-R model? Entity Sets.
CS 370 Database Systems Lecture 9 The Relational model.
Initial Design of Entity Types for the COMPANY Database Schema Based on the requirements, we can identify four initial entity types in the COMPANY database:
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.
DeSiamorePowered by DeSiaMore1 Database Management Systems (DBMS)  B. Computer Science and BSc IT Year 1.
Chapter 9: Logical Database Design and the Relational Model (ERD Mapping)
CS 405G: Introduction to Database Systems Lecture 2 : Database Design I.
Msigwaemhttp//:msigwaem.ueuo.com/1 Database Management Systems (DBMS)  B. Computer Science and BSc IT Year 1.
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.
Chapter 3 Data Modeling Using the Entity-Relationship (ER) Model Copyright © 2004 Pearson Education, Inc.
1 © Prentice Hall, 2002 Chapter 5: Logical Database Design and the Relational Model Modern Database Management 6 th Edition Jeffrey A. Hoffer, Mary B.
Carnegie Mellon University © Robert T. Monroe Management Information Systems Data Modeling Management Information Systems Robert.
1 Data Modeling : ER Model…. Lecture Summary so for …. ER Model Entity, Attribute, Key Relationships Instance Diagram.
Entity Relationship Modeling
MIS 385/MBA 664 Systems Implementation with DBMS/ Database Management
CS263 Lecture 5: Logical Database Design Can express the structure of a relation by a Tuple, a shorthand notation Name of the relation is followed (in.
The Entity-Relationship Model, P. I R. Nakatsu. Data Modeling A data model is the relatively simple representation, usually graphic, of the structure.
Chapter 3: Modeling Data in the Organization. Business Rules Statements that define or constrain some aspect of the business Assert business structure.
1 © Prentice Hall, 2002 ITD1312 Database Principles Chapter 4B: Logical Design for Relational Systems -- Transforming ER Diagrams into Relations Modern.
Copyright © 2016 Pearson Education, Inc. Modern Database Management 12 th Edition Jeff Hoffer, Ramesh Venkataraman, Heikki Topi CHAPTER 2: MODELING DATA.
© 2009 Pearson Education, Inc. Publishing as Prentice Hall 1 Chapter 3: Modeling Data in the Organization Modern Database Management 9 th Edition Jeffrey.
Pree Thiengburanathum, CAMT, Chiang Mai University 1 Database System Modeling Data in the Organization October 31, 2009 Software Park, Bangkok Thailand.
Chapter 3 1 Chapter 3: Modeling Data in the Organization.
IS 4420 Database Fundamentals Chapter 3: Modeling Data in the Organization Leon Chen.
© 2009 Pearson Education, Inc. Publishing as Prentice Hall 1 Lecture 3: Modeling Data in the Organization Modern Database Management 9 th Edition Jeffrey.
Distribution of Marks For Second Semester Internal Sessional Evaluation External Evaluation Assignment /Project QuizzesClass Attendance Mid-Term Test Total.
Copyright © 2011 Pearson Education, Inc. Publishing as Pearson Addison-Wesley Chapter 7 Lecture # 17 July 28,2012 Data Modeling using the Entity Relationship.
Chapter 4: Part B Logical Database Design and the Relational Model
Chapter -3- Data Modeling Using the Entity-Relationship Model
Chapter 1: The Database Environment
Presentation transcript:

Extended E-R Model: Basic Symbols Strong Entity Set Associative Entity Set Weak Entity Set Attribute Association Relationship Set Multi-Valued Attribute Identifying Relationship Set Derived attribute

Extended E-R: Relationship Cardinality Mandatory One Mandatory Many Optional One Optional Many

Relationship Set: Cardinality Maximum Cardinality for Offering Maximum Cardinality for Course Course Has Offering (1:1) (0:N) Course-NO C-Des Credit-Hour Offer-NO Off-Location Off-Time Minimum Cardinality for Offering Minimum Cardinality for Course

Graphical Notations for Cardinality 1: One M: Many 1 M EMPLYEE DEPARTMENT Works-for : One EMPLOYEE DEPARTMENT Works-for : Many EMPLOYEE DEPARTMENT Works-for Many One EMPLOYEE : One : Many DEPARTMENT Works-for

ER Diagram: An Example Sends SUPPLIER Supplies CUSTOMER Includes SHIPMENT ITEM Submits KEY Relationship Used_in Entity Cardinalities Mandatory One Requests PRODUCT ORDER Mandatory Many Optional One Optional Many

Weak Entity: An Example Last_Name First_Name Middle_Initial Date_of_Birth Employee_Name Employee_ID Dependent_Name EMPLOYEE Has DEPENDENT

Unary Relationship: Examples Marries PERSON One-to-one Manages EMPLOYEE One-to-many

Binary Relationship: Examples EMPLOYEE Assigns PARKING PLACE One-to-One PRODUCT LINE Contains PRODUCT One-to-Many STUDENT Registers_for COURSE Many-to-Many

Ternary Relationships: Example Supplies VENDOR WAREHOUSE PART Shipping_mode Unit_cost

Composite Attribute Address City State Street_Address Postal_Code DB Design Question: Should we model address as a simple or composite attribute?

Multi-Valued versus Derived Attribute EMPLOYEE Date_Employed Years_Employed Employee_ID Employee_Name Address Skill

Specialization/Generalization Relationships: Disjointness and Completeness Constraints PERSON Overlapping and Partial Coverage IS-A (O,P) DOCTOR PATIENT Disjoint and Total Coverage IS-A (D,T) IN-PATIENT OUT-PATIENT