[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"detail-sidebar-cat-0-en-105":3,"doc-seo-656000-105":59,"doc-detail-656000-en":130,"doc-similar-656000":160},{"code":4,"msg":5,"data":6},0,"success",[7,13,18,23,28,33,38,43,48,51,55],{"id":8,"doc_module":4,"doc_module_name":9,"category_name":10,"show_sort_weight":11,"slug":12},1,"Document","Story & Novel",90,"story-novel",{"id":14,"doc_module":4,"doc_module_name":9,"category_name":15,"show_sort_weight":16,"slug":17},2,"Literature",80,"literature",{"id":19,"doc_module":4,"doc_module_name":9,"category_name":20,"show_sort_weight":21,"slug":22},4,"Exam",70,"exam",{"id":24,"doc_module":4,"doc_module_name":9,"category_name":25,"show_sort_weight":26,"slug":27},5,"Comic",60,"comic",{"id":29,"doc_module":4,"doc_module_name":9,"category_name":30,"show_sort_weight":31,"slug":32},6,"Technology",50,"technology",{"id":34,"doc_module":4,"doc_module_name":9,"category_name":35,"show_sort_weight":36,"slug":37},7,"Healthcare",40,"healthcare",{"id":39,"doc_module":4,"doc_module_name":9,"category_name":40,"show_sort_weight":41,"slug":42},8,"Research & Report",30,"research-report",{"id":44,"doc_module":4,"doc_module_name":9,"category_name":45,"show_sort_weight":46,"slug":47},9,"Religion & Spirituality",20,"religion-spirituality",{"id":46,"doc_module":4,"doc_module_name":9,"category_name":49,"show_sort_weight":46,"slug":50},"World Cup","world-cup",{"id":52,"doc_module":4,"doc_module_name":9,"category_name":53,"show_sort_weight":52,"slug":54},10,"Lifestyle","lifestyle",{"id":56,"doc_module":4,"doc_module_name":9,"category_name":57,"show_sort_weight":24,"slug":58},19,"General","general",{"code":4,"msg":60,"data":61},"ok",{"site_id":62,"language":63,"slug":64,"title":65,"keywords":66,"description":67,"schema_data":68,"social_meta":123,"head_meta":125,"extra_data":127,"updated_unix":129},105,"en","database-concepts-lecture-5-the-enhanced-er-diagram","Database Concepts - Lecture 5 - The Enhanced ER Diagram","","Lecture 5 of “Database Concepts” explains Enhanced/Extended ER modeling by introducing subclasses and superclasses. It defines specialization and generalization, showing how an entity type like EMPLOYEE can be partitioned into meaningful subgroupings such as SECRETARY, ENGINEER, TECHNICIAN, MANAGER, HOURLY_EMPLOYEE, and SALARIED_EMPLOYEE. The lecture covers inheritance rules for attributes and relationships, notes on total completeness, and discusses how constraints apply to specialization and generalization within EER diagrams.",{"@graph":69,"@context":122},[70,84,105],{"@type":71,"itemListElement":72},"BreadcrumbList",[73,77,79,82],{"item":74,"name":75,"@type":76,"position":8},"https://docshare.wps.com","Home","ListItem",{"item":78,"name":9,"@type":76,"position":14},"https://docshare.wps.com/document/",{"item":80,"name":40,"@type":76,"position":81},"https://docshare.wps.com/document/research-report/",3,{"item":83,"name":65,"@type":76,"position":19},"https://docshare.wps.com/document/database-concepts-lecture-5-the-enhanced-er-diagram/656000/",{"url":83,"name":65,"@type":85,"image":86,"author":91,"headline":65,"publisher":94,"fileFormat":97,"inLanguage":63,"description":67,"dateModified":98,"datePublished":99,"encodingFormat":97,"isAccessibleForFree":100,"interactionStatistic":101},"DigitalDocument",{"url":87,"@type":88,"width":89,"height":90},"https://docshare.wps.com/thumbnails/database-concepts-lecture-5-the-enhanced-er-diagram/656000.png","ImageObject",300,407,{"name":92,"@type":93},"Chumphorn","Person",{"url":74,"name":95,"@type":96},"DocShare","Organization","application/pdf","2026-11-26","2026-10-25",true,{"@type":102,"interactionType":103,"userInteractionCount":39},"InteractionCounter",{"@type":104},"ViewAction",{"@type":106,"mainEntity":107},"FAQPage",[108,114,118],{"name":109,"@type":110,"acceptedAnswer":111},"What is the purpose of subclasses and superclasses in an Enhanced ER diagram?","Question",{"text":112,"@type":113},"They allow an entity type to be organized into additional meaningful subgroupings of its entities, represented as subclasses (subtypes) and linked to a superclass.","Answer",{"name":115,"@type":110,"acceptedAnswer":116},"How does inheritance work between a superclass and its subclasses in the lecture?",{"text":117,"@type":113},"An entity member of a subclass inherits all attributes and all relationships from the superclass, and the subclass may add its own additional attributes.",{"name":119,"@type":110,"acceptedAnswer":120},"What is the difference between specialization and generalization?",{"text":121,"@type":113},"Specialization defines subclasses from a superclass, while generalization defines a superclass from two or more subclasses; diagram arrows distinguish the direction.","https://schema.org",{"og:url":83,"og:type":124,"og:title":65,"og:site_name":95,"og:description":67},"article",{"robots":126,"canonical":83},"index,follow",{"doc_id":128,"site_id":62},656000,1793111136,{"code":4,"msg":5,"data":131},{"doc_id":128,"user_id":132,"nickname":92,"user_avatar":133,"doc_module":4,"category_id":39,"category_name":40,"doc_title":65,"doc_description":67,"doc_content":134,"file_id":135,"file_url":136,"file_type":137,"file_size":138,"view_count":39,"is_deleted":4,"is_public":8,"is_downloadable":8,"audit_status":8,"page_count":139,"language":140,"language_code":63,"site_id":62,"html_lang":63,"table_of_contents":141,"faqs":142,"seo_title":143,"seo_description":67,"update_tm":144,"read_time":26,"preview_page_count":19,"preview_urls":145},2336475401981,"https://ap-avatar.wpscdn.com/avatar/22000c94efd8d5204d?x-image-process=image/resize,m_fixed,w_180,h_180&k=1786935347598174694","Database Concepts  \nLecture 5: The Enhanced ER Diagram  \nMurtadha Hssayeni, Ph. D .  \n[m. hs say eni @ uo babylon . edu . iq](m. hs say eni @ uo babylon . edu . iq)  \nOutline  \no From last lecture  \no Subclasses and Superclasses  \no Subclasses and Superclasses – Inheritance  \no Specialization  \no Generalization  \no Constraints on Specialization and Generalization  \no Union Entity Type  \nExample 2: GTonline EER Diagram  \nWhat is new in this Diagram?  \nSubclasses and Superclasses are needed in Enhanced or Extended ER Diagram.  \nSubclasses and Superclasses  \no An entity type may have additional meaningful subgroupings of its entities that have special attributes.  \no Example: EMPLOYEE may be further grouped into:  \no SECRETARY, ENGINEER, TECHNICIAN based on the EMPLOYEE‟s Job  \no MANAGER  \no SALARIED_EMPLOYEE, HOURLY_EMPLOYEE  \no Based on the EMPLOYEE‟s method of pay  \no Enhanced ER (EER) diagrams extend ER diagrams to represent these additional subgroupings, called subclasses or subtypes  \nSubclasses and Superclasses (Cont.)  \nThree specializations of EMPLOYEE: o{SECRETARY, TECHNICIAN, ENGINEER} o{MANAGER}  \no{HOURLY_EMPLOYEE, SALARIED_EMPLOYEE}  \nSubclasses and Superclasses (Cont.)  \no Notes from the previous EER diagram:  \no Each of these subgroupings is a subset of EMPLOYEE entities  \no Each is called a subclass of EMPLOYEE  \no EMPLOYEE is the superclass for each of these subclasses  \no The following are called superclass/subclass relationships:  \no EMPLOYEE/SECRETARY  \no EMPLOYEE/TECHNICIAN  \no EMPLOYEE/MANAGER o    \nSubclasses and Superclasses (Cont.)  \no Notes from the previous EER diagram:  \no An employee must be either SALARIED_EMPLOYEE or HOURLY_EMPLOYEE because of the total completeness.  \no Exampple: A salaried employee who is also an engineer belongs to the two subclasses:  \no ENGINEER  \no SALARIED_EMPLOYEE  \noA salaried employee who is also an engineering manager belongs to the three subclasses:  \no MANAGER,  \no ENGINEER  \no SALARIED_EMPLOYEE  \noIt is not necessary that every entity in a superclass be a member of some subclass  \nAttribute Inheritance in Superclass / Subclass Relationships  \no An entity that is member of a subclass inherits  \no All attributes of the entity as a member of the superclass  \no All relationships of the entity as a member of the superclass  \no Example:  \no In the previous EER diagrsm, SECRETARY (as well as TECHNICIAN and ENGINEER) inherit the attributes Name, SSN,   , from EMPLOYEE  \no Every SECRETARY entity will have values for the inherited attributes  \no Beside the inherited attributes, subclasses have their own attributes.  \nSpecialization and Generalization  \noThe related concepts to subclass and superclass:  \no Specialization is the process of defining subclasses from a superclass.  \no Generalization is the process of defining a superclass from two or more subclasses.  \no Diagrammatic notation are sometimes used to distinguish between generalization and specialization  \no Arrow pointing to the generalized superclass represents a generalization  \no Arrows pointing to the specialized subclasses represent a specialization  \nSpecialization  \noSpecialization is the process of defining a set of subclasses of a superclass  \no The set of subclasses is based upon some distinguishing characteristics of the entities in the superclass  \noExample: {SECRETARY, ENGINEER, TECHNICIAN} is a specialization of EMPLOYEE based upon job type.  \no It may have several specializations of the same superclass.  \no If all subclasses in a specialization have membership condition on same attribute of the superclass, specialization is called an attribute-defined specialization  \no Attribute is called the defining attribute of the specialization  \no Example: JobType is the defining attribute of the specialization {SECRETARY, TECHNICIAN, ENGINEER} of EMPLOYEE","cbCaia7tyfjse6Fx","https://ap.wps.com/l/cbCaia7tyfjse6Fx","pdf",1051358,24,"English","# Outline\n## From last lecture\n## Subclasses and Superclasses\n## Subclasses and Superclasses – Inheritance\n## Specialization\n## Generalization\n## Constraints on Specialization and Generalization\n## Union Entity Type\n## Example 2: GTonline EER Diagram\n## What is new in this Diagram?","[{\"question\":\"What is the purpose of subclasses and superclasses in an Enhanced ER diagram?\",\"answer\":\"They allow an entity type to be organized into additional meaningful subgroupings of its entities, represented as subclasses (subtypes) and linked to a superclass.\"},{\"question\":\"How does inheritance work between a superclass and its subclasses in the lecture?\",\"answer\":\"An entity member of a subclass inherits all attributes and all relationships from the superclass, and the subclass may add its own additional attributes.\"},{\"question\":\"What is the difference between specialization and generalization?\",\"answer\":\"Specialization defines subclasses from a superclass, while generalization defines a superclass from two or more subclasses; diagram arrows distinguish the direction.\"}]","Database Concepts - Lecture 5 - The Enhanced ER Diagram | PDF",1792965470,[146,150,153,157],{"page_no":8,"url":147,"width":148,"height":149},"https://res-academy.cache.wpscdn.com/upload/kdocshare/2026-11-18/dc58f4a514194d67d7eb0ba3662dff5f.webp",983,552,{"page_no":14,"url":151,"width":152,"height":149},"https://res-academy.cache.wpscdn.com/upload/kdocshare/2026-11-18/b225b593775289ea793cbb5e4397e0b4.webp",982,{"page_no":81,"url":154,"width":155,"height":156},"https://res-academy.cache.wpscdn.com/upload/kdocshare/2026-11-18/d8fe30dbe8b21164975e619b7ade0f37.webp",981,551,{"page_no":19,"url":158,"width":159,"height":156},"https://res-academy.cache.wpscdn.com/upload/kdocshare/2026-11-18/d316d2b81eda2d21841c7b277daec164.webp",980,{"list":161,"token":66},[162,168,174,180,186,193,199,205,211,217],{"doc_id":163,"doc_title":164,"file_type":137,"home_preview_img_url":165,"slug":166,"view_count":24,"category_name":40,"create_tm":167},655999,"THE ENHANCED ER MODEL - Key Concepts - Sub Class and Super Class, Specialization and Generalization, Union or Category, Aggregation","https://weboffice-temporary-prod-sg.obs.ap-southeast-3.myhuaweicloud.com:443/export/thumbnail/export/thumbnail/110229975296977/last/300/407?AWSAccessKeyId=HPUAE6OPDRI9QZXR6WJG&Expires=1796110739&Signature=OjgM859LlxJWYe6%2BxjRKtoe7%2BJs%3D","the-enhanced-er-model-key-concepts-sub-class-and-super-class-specialization-and-generalization-union-or-category-aggregation",1792965468,{"doc_id":169,"doc_title":170,"file_type":137,"home_preview_img_url":171,"slug":172,"view_count":34,"category_name":40,"create_tm":173},655989,"From ER to Relational Mapping - Step-by-Step Guide - Algorithms for ER and EER","https://weboffice-temporary-prod-sg.obs.ap-southeast-3.myhuaweicloud.com:443/export/thumbnail/export/thumbnail/110229975296618/last/300/407?AWSAccessKeyId=HPUAE6OPDRI9QZXR6WJG&Expires=1796110739&Signature=wn2XXcPSlxlHTjQP2DDiBPD2MEg%3D","from-er-to-relational-mapping-step-by-step-guide-algorithms-for-er-and-eer",1792965386,{"doc_id":175,"doc_title":176,"file_type":137,"home_preview_img_url":177,"slug":178,"view_count":44,"category_name":40,"create_tm":179},656089,"THE ENTITY-RELATIONSHIP (ER) MODEL - Chapter 7 - Lecture Outline","https://weboffice-temporary-prod-sg.obs.ap-southeast-3.myhuaweicloud.com:443/export/thumbnail/export/thumbnail/110229975299863/last/300/407?AWSAccessKeyId=HPUAE6OPDRI9QZXR6WJG&Expires=1796110739&Signature=qzrBYcpUco97P1qJBiZKSTIK1nw%3D","the-entity-relationship-er-model-chapter-7-lecture-outline",1792966234,{"doc_id":181,"doc_title":182,"file_type":137,"home_preview_img_url":183,"slug":184,"view_count":29,"category_name":40,"create_tm":185},656073,"MonstER Park - The Entity-Relationship-Diagram Learning Game - Paper 13","https://weboffice-temporary-prod-sg.obs.ap-southeast-3.myhuaweicloud.com:443/export/thumbnail/export/thumbnail/110229974783417/last/300/407?AWSAccessKeyId=HPUAE6OPDRI9QZXR6WJG&Expires=1796110739&Signature=y2Sz1B3NQqNgTlU3Bv81LJ6zNyA%3D","monster-park-the-entity-relationship-diagram-learning-game-paper-13",1792965989,{"doc_id":187,"doc_title":188,"file_type":137,"home_preview_img_url":189,"slug":190,"view_count":191,"category_name":40,"create_tm":192},655996,"Conceptual Modeling CSC2507 - The Extended Entity-Relationship Model - 1","https://weboffice-temporary-prod-sg.obs.ap-southeast-3.myhuaweicloud.com:443/export/thumbnail/export/thumbnail/110229974781864/last/300/407?AWSAccessKeyId=HPUAE6OPDRI9QZXR6WJG&Expires=1796110739&Signature=MQVZFSJ29kU319DIOaCAia9TGeA%3D","conceptual-modeling-csc2507-the-extended-entity-relationship-model-1",12,1792965463,{"doc_id":194,"doc_title":195,"file_type":137,"home_preview_img_url":196,"slug":197,"view_count":29,"category_name":40,"create_tm":198},655994,"Entity-Relationship Model - Conceptual Modeling","https://weboffice-temporary-prod-sg.obs.ap-southeast-3.myhuaweicloud.com:443/export/thumbnail/export/thumbnail/110229975296848/last/300/407?AWSAccessKeyId=HPUAE6OPDRI9QZXR6WJG&Expires=1796110739&Signature=czzZhUgHCee3tNMM6AbhH%2FRF%2B5s%3D","entity-relationship-model-conceptual-modeling",1792965431,{"doc_id":200,"doc_title":201,"file_type":137,"home_preview_img_url":202,"slug":203,"view_count":34,"category_name":40,"create_tm":204},656086,"Chapter 7 - Entity-Relationship Model - Database Design Concepts","https://weboffice-temporary-prod-sg.obs.ap-southeast-3.myhuaweicloud.com:443/export/thumbnail/export/thumbnail/110229975299797/last/300/407?AWSAccessKeyId=HPUAE6OPDRI9QZXR6WJG&Expires=1796110739&Signature=2JXK2dIqcR%2FTt%2FwR5vTaGpQ5nIY%3D","chapter-7-entity-relationship-model-database-design-concepts",1792966214,{"doc_id":206,"doc_title":207,"file_type":137,"home_preview_img_url":208,"slug":209,"view_count":44,"category_name":40,"create_tm":210},655977,"Database Schema Design - Using - Entity-Relationship Approach (ER Approach or ER Model)","https://weboffice-temporary-prod-sg.obs.ap-southeast-3.myhuaweicloud.com:443/export/thumbnail/export/thumbnail/110229975296116/last/300/407?AWSAccessKeyId=HPUAE6OPDRI9QZXR6WJG&Expires=1796110739&Signature=gycxp0efx7j8E28D0a5WC4SrEJs%3D","database-schema-design-using-entity-relationship-approach-er-approach-or-er-model",1792965274,{"doc_id":212,"doc_title":213,"file_type":137,"home_preview_img_url":214,"slug":215,"view_count":29,"category_name":40,"create_tm":216},655935,"Class Diagrams - Part 1","https://weboffice-temporary-prod-sg.obs.ap-southeast-3.myhuaweicloud.com:443/export/thumbnail/export/thumbnail/110229974780575/last/300/407?AWSAccessKeyId=HPUAE6OPDRI9QZXR6WJG&Expires=1796110739&Signature=VzXGgOoFEsuzbsplC4w4vJo4MKk%3D","class-diagrams-part-1",1792964996,{"doc_id":218,"doc_title":219,"file_type":137,"home_preview_img_url":220,"slug":221,"view_count":52,"category_name":40,"create_tm":222},656002,"Phase 2 of database design - Mapping an (E)ER diagram to a relational model","https://weboffice-temporary-prod-sg.obs.ap-southeast-3.myhuaweicloud.com:443/export/thumbnail/export/thumbnail/110229975297337/last/300/407?AWSAccessKeyId=HPUAE6OPDRI9QZXR6WJG&Expires=1796110739&Signature=et%2Boze8%2FAO2KPYplCE3FoUodp8U%3D","phase-2-of-database-design-mapping-an-eer-diagram-to-a-relational-model",1792965553]