Weak Entities (cont…) Entities that do not have key attributes of their own Related to specific entities from another entity type plus their own attributes.

Slides:



Advertisements
Similar presentations
THE EXTENDED ENTITY RELATIONSHIP MODEL (EERM)
Advertisements

Chapter 3: The Enhanced E-R Model
Basic notation for supertype/subtype relationships
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 6 Advanced Data Modeling.
Database Systems: Design, Implementation, and Management Tenth Edition Chapter 5 Advanced Data Modeling.
Database Systems: Design, Implementation, and Management Tenth Edition
Chapter 6 Advanced Data Modelling
BIS Database Systems School of Management, Business Information Systems, Assumption University A.Thanop Somprasong Chapter # 6 Advanced Data Modeling.
Database Systems: Design, Implementation, and Management Eighth Edition Chapter 6 Advanced Data Modeling.
CHAPTER 3: THE ENHANCED E-R MODEL © 2013 Pearson Education, Inc. Publishing as Prentice Hall 1 Modern Database Management 11 th Edition Jeffrey A. Hoffer,
Chapter 4 © 2005 by Prentice Hall 1 Objectives Definition of terms Definition of terms Use of supertype/subtype relationships Use of supertype/subtype.
Data Modeling Advanced Concepts.
DAVID M. KROENKE’S DATABASE PROCESSING, 10th Edition © 2006 Pearson Prentice Hall 5-1 David M. Kroenke’s Chapter Five: Data Modeling with the Entity-Relationship.
1 Chapter 4 Enhanced E-R Model. 2 Supertypes and Subtypes Subtype: A subgrouping of the entities in an entity type which has attributes that are distinct.
Chapter 41 Enhanced Entity-Relationship and Object Modeling.
1 Chapter 4: The Enhanced ER Model and Business Rules.
 Keys are special fields that serve two main purposes: ◦ Primary keys are unique identifiers of the relation in question. Examples include employee numbers,
Class Agenda – 04/04/2006 Discuss database modeling issues
1 Web-Enabled Decision Support Systems Entity-Relationship Modeling Prof. Name Position (123) University Name.
© 2007 by Prentice Hall (Hoffer, Prescott & McFadden) 1 The Enhanced Entity Relationship Diagrams (E-ERDs)
4 1 Chapter 4 Entity Relationship (ER) Modeling Database Systems: Design, Implementation, and Management, Sixth Edition, Rob and Coronel.
Switch off your Mobiles Phones or Change Profile to Silent Mode.
Question 11 Attribute inheritance is the gaining of attributes by a subtype entity from a supertype entity. This inheritance of common pieces of data from.
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.
1 The Enhanced Entity Relationship Diagrams (E-ERDs)
CHAPTER 3: THE ENHANCED E-R MODEL © 2013 Pearson Education, Inc. Publishing as Prentice Hall 1 Modern Database Management 11 th Edition Jeffrey A. Hoffer,
Database Systems Supertypes and Subtypes Lecture # 10.
Database Management System Prepared by Dr. Ahmed El-Ragal Reviewed & Presented By Mr. Mahmoud Rafeek Alfarra College Of Science & Technology- Khan younis.
Entity Relationship Modeling
Enhanced Entity-Relationship Modeling
Database Systems: Design, Implementation, and Management Ninth Edition
© 2009 Pearson Education, Inc. Publishing as Prentice Hall 1 Chapter 4: The Enhanced E-R Model Modern Database Management 9 th Edition Jeffrey A. Hoffer,
Copyright © 2016 Pearson Education, Inc. Modern Database Management 12 th Edition Jeff Hoffer, Ramesh Venkataraman, Heikki Topi CHAPTER 3: THE ENHANCED.
Data Modeling Advanced Concepts Updated 20/4/2015 TMC2034 Database Concept and Design1.
ER Diagrams ● Many different notations are available ● From wikipedia:wikipedia: Entity-relationship modelwikipedia: Entity-relationship model ● How do.
1 Database Design Entity-Relationship Modeling N. Ilayaraja PSG Tech.
Modeling data in the Organization
Databases (CS507) CHAPTER 7.
The Enhanced Entity- Relationship (EER) Model
The Enhanced E-R Model and Business Rules
LECTURE 4: Chapter 4: The Enhanced E-R Model
Advanced Database Analysis
Chapter 4: The Enhanced E-R Model and Business Rules
Enhanced Entity-Relationship and Object Modeling Objectives
Conceptual Design & ERD Modelling
The Enhanced Entity- Relationship (EER) Model
Session 2 Welcome: The sixth learning sequence
Chapter 4: The Enhanced ER Model and Business Rules
Entity Relationship (E-R) Modeling
Entity Relationship (E-R) Modeling
Entity-Relationship Model
Database Management System 1 (ITED123A)
מודל הנתונים.
Chapter 3: The Enhanced E-R Model
Overview of Entity‐Relationship Model
CHAPTER 3: THE ENHANCED E-R MODEL
CS4222 Principles of Database System
Chapter 5 Advanced Data Modeling
MBA 664 Database Management
Database Processing: David M. Kroenke’s Chapter Five:
Entity-Relationship Diagram (ERD)
Database Management System
Fundamentals/ICY: Databases 2013/14 WEEK 6 - Friday
MIS 385/MBA 664 Systems Implementation with DBMS/ Database Management
Database Management system
Entity Relationship (ER) Modeling
Presentation transcript:

Weak Entities (cont…) Entities that do not have key attributes of their own Related to specific entities from another entity type plus their own attributes “Another Entity Type” – Owner Entity Weak Entity always has total participation (mandatory) with respect to Owner Entity Weak Entity cannot be identified without owner entity Partial Keys represent uniqueness within a certain owner entity One to Many Relationship – one owner to many weak

Generalization Hierarchy A generalization hierarchy is a structured grouping of entities that share common attributes. It is a powerful and widely used method for representing common characteristics among entities while preserving their differences. It is the relationship between an entity and one or more refined versions. The entity being refined is called the supertype and each refined version is called the subtype. Generalization hierarchies should be used when (1) a large number of entities appear to be of the same type (2) attributes are repeated for multiple entities (3) the model is continually evolving Generalization hierarchies improve the stability of the model by allowing changes to be made only to those entities germane to the change and simplify the model by reducing the number of entities in the model.

Generalization Hierarchy A generalization hierarchy can either be overlapping or disjoint. In an overlapping hierarchy an entity instance can be part of multiple subtypes. For example, to represent people at a university you have identified the supertype entity PERSON which has three subtypes, FACULTY, STAFF, and STUDENT. It is quite possible for an individual to be in more than one subtype, a staff member who is also registered as a student. In a disjoint hierarchy, an entity instance can be in only one subtype. For example, the entity EMPLOYEE, may have two subtypes, CLASSIFIED and WAGES. An employee may be one type or the other but not both.

Generalization Hierarchy