[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"detail-sidebar-cat-0-en-105":3,"doc-seo-656002-105":59,"doc-detail-656002-en":130,"doc-similar-656002":162},{"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","phase-2-of-database-design-mapping-an-eer-diagram-to-a-relational-model","Phase 2 of database design - Mapping an (E)ER diagram to a relational model","","These slides explain how to transform an EER diagram into a relational database model using Elmasri & Navathe’s 8-step approach, with simplified notation and an early swap between steps 8 and 3. The material focuses on mapping entity and relationship structures into tables, including naming and ordering rules, attribute-to-column conversion, primary-key selection, and foreign-key constraint visualization. It also provides guidance on when foreign keys belong to primary keys and includes worked mapping steps from a final EER diagram.",{"@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/phase-2-of-database-design-mapping-an-eer-diagram-to-a-relational-model/656002/",{"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/phase-2-of-database-design-mapping-an-eer-diagram-to-a-relational-model/656002.png","ImageObject",300,407,{"name":92,"@type":93},"Terk","Person",{"url":74,"name":95,"@type":96},"DocShare","Organization","application/pdf","2026-11-26","2026-10-25",true,{"@type":102,"interactionType":103,"userInteractionCount":52},"InteractionCounter",{"@type":104},"ViewAction",{"@type":106,"mainEntity":107},"FAQPage",[108,114,118],{"name":109,"@type":110,"acceptedAnswer":111},"What is the main goal of this slide set?","Question",{"text":112,"@type":113},"It shows how to transform an EU Parliament debates E(E)R diagram into a relational model by mapping selected parts step by step.","Answer",{"name":115,"@type":110,"acceptedAnswer":116},"How are entities, relationships, and attributes represented in the relational model?",{"text":117,"@type":113},"Entity and relationship names become relation/table names, while attributes become column titles.",{"name":119,"@type":110,"acceptedAnswer":120},"What rules determine whether a foreign key is part of a relation’s primary key?",{"text":121,"@type":113},"A foreign key in R1 is not part of the primary key when it comes from mapping a binary 1:1 or 1:n relationship; in other cases it typically is part of the primary key.","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},656002,1793095799,{"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":52,"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":145,"preview_page_count":19,"preview_urls":146},1099525198933,"https://ap-avatar.wpscdn.com/davatar_155a257f0dc6eb9ab79c44ca47cae57d","Phase 2 of database design: Mapping an (E)ER diagram to a  \nrelational model  \nInformation Structures and Implications 2019  \nBettina Berendt  \nLast updated: 2019-10-06  \nAbout  \n• These slides show how to  \n– transform the EU Parliament debates diagram created in class into a relational model  \n– We first restrict our attention to a subset of the EER diagram, in order to show 1 example of each mapping step only (in one case, there are 2 examples) .  \n– Please complete the mapping analogously for the remaining elements.  \n– At the end of the slide set, the complete mapping of a slightly different EER model is shown.  \n• Relational model means:  \n– think of the database in terms of a collection of tables  \n• The model builds on the mathematical notion of relations (hence the name), but you don‘t need to know about that  \n– Model the tables‘ names and column titles  \n– Basic idea: Entities and relationships become relation / table names, attributes become column titles (still called attributes)  \n– The actual tables with actual data in them follow in the next step.  \n• This slide set follows Elmasri & Navathe‘s 8-step model (see the Chapter 9 on Toledo), but uses a slightly simplified syntax and does step 8 (mapping subclasses) earlier. In effect, steps 8 and 3 are interchanged.  \n• Sometimes, only selected/preferred modelling options are shown, see the chapter for full details.  \nMost important rules for relations (1)  \n• Rules for naming and ordering:  \n– Use the entity or relationship type name as the name of the relation (~ table) .  \n– Use the attribute names from the ER model – unless it‘s clearer to disambiguate them (e.g. turning acronym into country_acronym in REPRESENTS) .  \n– The order of the attributes doesn‘t matter (mathematically), but it‘s recommended to order them in a “nicely readable“ order.  \n– The keys could also be anyhwere in the list of attributes, but it‘s recommended to list them at the beginning.  \nMost important rules for relations (2)  \n• Visual rules:  \n– Underline the primary keys of each relation  \n– Show the foreign-key constraints as arrows between two attributes  \n• Foreign-key constraints result from mapping relationships (steps 4,5, 6, 8) or multi-valued attributes (step 7) or weak entities (step 2) .  \n• The arrow points to the relation R2 that holds all the possible values of the attribute  \n• The arrow comes from the relation R1 that references the attribute in R2  \n• Example: REPRESENTS may only use MEP_Ids that exist in the MEP relation 􀃎 The arrow comes from REPRESENTS and points to MEP  \nMost important rules for relations (3)  \n• Important: A foreign key in R1 may itself be part of the primary key of R1 (example: REPRESENTS.MEP_ID), or it may just be “a normal attribute“ that gives extra information about the entity (example: SPEECH.MEP_ID) .  \nWhen to choose which:  \n– A foreign key in R1 is not part of the primary key of R1 if it results from mapping a binary 1:1 or 1:n relationship.  \n– In all other cases, a foreign key in R1 is part of the primary key of R1 .  \n– There can be exceptions for non-binary relationships, but we will look at these later. You may ignore them for now.  \nOn these slides …  \n• … we will start from the EER diagram we created in class, using version V3 of the TRANSLATED_SPEECHes (as a weak entity)  \nFrom E(E)R to relational model  \n(steps in grey are not applicable in our model)  \n1. Map regular entity types  \n2. Map weak entity types  \n3. Map subclasses  \n4. Map binary 1:1 relationship types  \n5. Map binary 1:n relationship types  \n6. Map binary n:m relationship types  \n7. Map multivalued attributes  \n8. Map higher-order relationship types  \nStarting point: Our final EER diagram  \n(2 versions of “dependent entities”: TRANSLATED_SPEECH as weak entity vs. SESSION_DAY as regular entity that repeats the identifying information of year and month, i.e. with redundancy)  \nStep 1: Mapping of Regular Entity Types  \nAdd a relation for each regular entity type (in hiera","cbCaioIE50niQDy4","https://ap.wps.com/l/cbCaioIE50niQDy4","pdf",913403,32,"English","# About\n## Rules for relations (1)\n## Rules for relations (2)\n## Rules for relations (3)\n# On these slides\n# From E(E)R to relational model\n## Step 1: Mapping of Regular Entity Types\n## Step 2: Mapping of Weak Entity Types","[{\"question\":\"What is the main goal of this slide set?\",\"answer\":\"It shows how to transform an EU Parliament debates E(E)R diagram into a relational model by mapping selected parts step by step.\"},{\"question\":\"How are entities, relationships, and attributes represented in the relational model?\",\"answer\":\"Entity and relationship names become relation/table names, while attributes become column titles.\"},{\"question\":\"What rules determine whether a foreign key is part of a relation’s primary key?\",\"answer\":\"A foreign key in R1 is not part of the primary key when it comes from mapping a binary 1:1 or 1:n relationship; in other cases it typically is part of the primary key.\"}]","Phase 2 of database design - Mapping an (E)ER diagram to a relational model | PDF",1792965553,81,[147,151,154,158],{"page_no":8,"url":148,"width":149,"height":150},"https://res-academy.cache.wpscdn.com/upload/kdocshare/2026-11-18/0d3f6eec49866ab1b32a92519a665000.webp",983,736,{"page_no":14,"url":152,"width":153,"height":150},"https://res-academy.cache.wpscdn.com/upload/kdocshare/2026-11-18/2db29371fa34312abf2c37a0594fc531.webp",982,{"page_no":81,"url":155,"width":156,"height":157},"https://res-academy.cache.wpscdn.com/upload/kdocshare/2026-11-18/9fd2b45930ac90f195ad5f95d5445ce0.webp",981,735,{"page_no":19,"url":159,"width":160,"height":161},"https://res-academy.cache.wpscdn.com/upload/kdocshare/2026-11-18/a1f700a60bc49b559871cba135415f07.webp",980,734,{"list":163,"token":66},[164,170,176,182,188,194,201,208,214,220],{"doc_id":165,"doc_title":166,"file_type":137,"home_preview_img_url":167,"slug":168,"view_count":39,"category_name":40,"create_tm":169},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=1796217359&Signature=wpf2O3CvajCxMC6itZNqzU%2FrEBI%3D","from-er-to-relational-mapping-step-by-step-guide-algorithms-for-er-and-eer",1792965386,{"doc_id":171,"doc_title":172,"file_type":137,"home_preview_img_url":173,"slug":174,"view_count":29,"category_name":40,"create_tm":175},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=1796217359&Signature=F7pxK7xNHg7w%2BU8BfgcsAVP2maw%3D","entity-relationship-model-conceptual-modeling",1792965431,{"doc_id":177,"doc_title":178,"file_type":137,"home_preview_img_url":179,"slug":180,"view_count":34,"category_name":40,"create_tm":181},656020,"Chapter 2: Entity-Relationship Model - Entity Sets, Relationship Sets, and Mapping","https://weboffice-temporary-prod-sg.obs.ap-southeast-3.myhuaweicloud.com:443/export/thumbnail/export/thumbnail/110229975297804/last/300/407?AWSAccessKeyId=HPUAE6OPDRI9QZXR6WJG&Expires=1796217359&Signature=EauHqKbPiAxzh7EUVcy%2Ft9di7Mo%3D","chapter-2-entity-relationship-model-entity-sets-relationship-sets-and-mapping",1792965696,{"doc_id":183,"doc_title":184,"file_type":137,"home_preview_img_url":185,"slug":186,"view_count":34,"category_name":40,"create_tm":187},655949,"Journal of Computer and Software Engineering - Vol. 3 - No. 4 - A Comparative Analysis of Entity-Relationship Diagrams","https://weboffice-temporary-prod-sg.obs.ap-southeast-3.myhuaweicloud.com:443/export/thumbnail/export/thumbnail/110229975294783/last/300/407?AWSAccessKeyId=HPUAE6OPDRI9QZXR6WJG&Expires=1796217359&Signature=%2BgOwqiAcQ3%2BnhN6nYrUu8UPKKjw%3D","journal-of-computer-and-software-engineering-vol-3-no-4-a-comparative-analysis-of-entity-relationship-diagrams",1792965068,{"doc_id":189,"doc_title":190,"file_type":137,"home_preview_img_url":191,"slug":192,"view_count":29,"category_name":40,"create_tm":193},655718,"Optimizing the process of ER diagram creation with PlantUML","https://weboffice-temporary-prod-sg.obs.ap-southeast-3.myhuaweicloud.com:443/export/thumbnail/export/thumbnail/110229975288428/last/300/407?AWSAccessKeyId=HPUAE6OPDRI9QZXR6WJG&Expires=1796217359&Signature=owBtx4NVKQCbeAeHB5iXMa1oufg%3D","optimizing-the-process-of-er-diagram-creation-with-plantuml",1792963464,{"doc_id":195,"doc_title":196,"file_type":137,"home_preview_img_url":197,"slug":198,"view_count":199,"category_name":40,"create_tm":200},122481,"Relational Computation for Very Large-Scale Machine Learning","https://weboffice-temporary-prod-sg.obs.ap-southeast-3.myhuaweicloud.com:443/export/thumbnail/export/thumbnail/110229836898492/last/300/407?AWSAccessKeyId=HPUAE6OPDRI9QZXR6WJG&Expires=1796217359&Signature=eUfHv0lrPk5tjzWWR7fANo5MhaI%3D","relational-computation-for-very-large-scale-machine-learning",21,1785810881,{"doc_id":202,"doc_title":203,"file_type":137,"home_preview_img_url":204,"slug":205,"view_count":206,"category_name":40,"create_tm":207},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=1796217359&Signature=p%2BHWsQZjFtNU1scd%2Bvmjln274Wo%3D","database-schema-design-using-entity-relationship-approach-er-approach-or-er-model",11,1792965274,{"doc_id":209,"doc_title":210,"file_type":137,"home_preview_img_url":211,"slug":212,"view_count":39,"category_name":40,"create_tm":213},656094,"Appendix C - Entity Relationship Diagram for Electronic Resource Management","https://weboffice-temporary-prod-sg.obs.ap-southeast-3.myhuaweicloud.com:443/export/thumbnail/export/thumbnail/110229974784745/last/300/407?AWSAccessKeyId=HPUAE6OPDRI9QZXR6WJG&Expires=1796217359&Signature=5HaTM3cIcNUy5vTruZJCdowNPgc%3D","appendix-c-entity-relationship-diagram-for-electronic-resource-management",1792966264,{"doc_id":215,"doc_title":216,"file_type":137,"home_preview_img_url":217,"slug":218,"view_count":39,"category_name":40,"create_tm":219},655981,"Databases - Entity-Relationship Modelling","https://weboffice-temporary-prod-sg.obs.ap-southeast-3.myhuaweicloud.com:443/export/thumbnail/export/thumbnail/110229975296306/last/300/407?AWSAccessKeyId=HPUAE6OPDRI9QZXR6WJG&Expires=1796217359&Signature=EEdYP4Zrckg5RLO9r2gJTfBWRfQ%3D","databases-entity-relationship-modelling",1792965322,{"doc_id":221,"doc_title":222,"file_type":137,"home_preview_img_url":223,"slug":224,"view_count":34,"category_name":40,"create_tm":225},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=1796217359&Signature=Pjy5inh7x%2Bv3UiDC50TylcKNbAg%3D","chapter-7-entity-relationship-model-database-design-concepts",1792966214]