TAILIEUCHUNG - Lecture Fundamentals of database systems: Chapter 4 - Emasri, Navathe

In this chapter, we describing features that have been proposed for semantic data models, and show how the ER model can be enhanced to include these concepts, leading to the Enhanced ER (EER) model. | EER stands for Enhanced ER or Extended ER EER Model Concepts Includes all modeling concepts of basic ER Additional concepts subclasses superclasses specialization generalization categories UNION types attribute and relationship inheritance These are fundamental to conceptual modeling The additional EER concepts are used to model applications more completely and more accurately EER includes some object-oriented concepts such as inheritance An entity type may have additional meaningful subgroupings of its entities Example EMPLOYEE may be further grouped into SECRETARY ENGINEER TECHNICIAN . Based on the employee s Job MANAGER employees who are managers SALARIED_EMPLOYEE HoUrLY_EMPLOYEE Based on the employee s method of pay EER diagrams extend ER diagrams to represent these additional subgroupings called subclasses or subtypes Copyright 2007 Ramez Elmasri and Shamkant B. Navathe Slide 4-3 Copyright 2007 Ramez Elmasri and Shamkant B. Navathe lide 4-4 Copyright 2007 RamezElmasri and Shamkant B. Navathe lide 4- Each of these subgroupings is a subset of EMPLOYEE entities Each is called a subclass of EMPLOYEE EMPLOYEE is the superclass for each of these subclasses These are called superclass subclass relationships EMPLOYEE SECRETARY EMPLOYEE TECHNICIAN EMPLOYEE MANAGER Copyright 2007 RamezElmasri and Shamkant B. Navathe lide 4- 1 These are also called IS-A relationships . SECRETARY IS-A EMPLOYEE TECHNICIAN IS-A EMPLOYEE . Note An entity that is member of a subclass represents the same real-world entity as some member of the superclass The subclass member is the same entity in a distinct specific role An entity cannot exist in the database merely by being a member of a subclass it must also be a member of the superclass A member of the superclass can be optionally included as a member of any number of its subclasses Examples A salaried employee who is also an engineer belongs to the two subclasses ENGINEER and SALARIED_EMPLOYEE A salaried employee who is also an engineering

TỪ KHÓA LIÊN QUAN
TAILIEUCHUNG - Chia sẻ tài liệu không giới hạn
Địa chỉ : 444 Hoang Hoa Tham, Hanoi, Viet Nam
Website : tailieuchung.com
Email : tailieuchung20@gmail.com
Tailieuchung.com là thư viện tài liệu trực tuyến, nơi chia sẽ trao đổi hàng triệu tài liệu như luận văn đồ án, sách, giáo trình, đề thi.
Chúng tôi không chịu trách nhiệm liên quan đến các vấn đề bản quyền nội dung tài liệu được thành viên tự nguyện đăng tải lên, nếu phát hiện thấy tài liệu xấu hoặc tài liệu có bản quyền xin hãy email cho chúng tôi.
Đã phát hiện trình chặn quảng cáo AdBlock
Trang web này phụ thuộc vào doanh thu từ số lần hiển thị quảng cáo để tồn tại. Vui lòng tắt trình chặn quảng cáo của bạn hoặc tạm dừng tính năng chặn quảng cáo cho trang web này.