[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"detail-sidebar-cat-0-en-105":3,"doc-seo-656020-105":59,"doc-detail-656020-en":130,"doc-similar-656020":178},{"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","chapter-2-entity-relationship-model-entity-sets-relationship-sets-and-mapping","Chapter 2: Entity-Relationship Model - Entity Sets, Relationship Sets, and Mapping","","Chapter 2 introduces the entity-relationship (E-R) model used to represent databases as entities and relationships. It defines entity sets and attributes, including domain, attribute types, composite attributes, derived attributes, and multivalued attributes with examples such as customers and loans. It then explains relationship sets, relationship degree, and how attributes can belong to relationships. The chapter concludes with mapping cardinalities for binary relationships, covering one-to-one, one-to-many, many-to-one, and many-to-many.",{"@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/chapter-2-entity-relationship-model-entity-sets-relationship-sets-and-mapping/656020/",{"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/chapter-2-entity-relationship-model-entity-sets-relationship-sets-and-mapping/656020.png","ImageObject",300,407,{"name":92,"@type":93},"Franzy","Person",{"url":74,"name":95,"@type":96},"DocShare","Organization","application/pdf","2026-11-26","2026-10-25",true,{"@type":102,"interactionType":103,"userInteractionCount":34},"InteractionCounter",{"@type":104},"ViewAction",{"@type":106,"mainEntity":107},"FAQPage",[108,114,118],{"name":109,"@type":110,"acceptedAnswer":111},"What is the E-R model and what two parts does it use to model a database?","Question",{"text":112,"@type":113},"The E-R model represents a database as a collection of entities and the relationships among those entities.","Answer",{"name":115,"@type":110,"acceptedAnswer":116},"How does an entity differ from an entity set?",{"text":117,"@type":113},"An entity is a distinguishable object, while an entity set groups entities of the same type that share the same properties.",{"name":119,"@type":110,"acceptedAnswer":120},"What mapping cardinalities can a binary relationship set have?",{"text":121,"@type":113},"A binary relationship set’s mapping cardinality can be one-to-one, one-to-many, many-to-one, or many-to-many.","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},656020,1793096905,{"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":34,"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":39,"preview_urls":146},2336478945519,"https://ap-avatar.wpscdn.com/davatar_085a072bc5b1113ac321206ff7593b45","Chapter 2: Entity-Relationship Model  \n! Entity Sets  \n! Relationship Sets  \n! Design Issues  \n! Mapping Constraints  \n! Keys  \n! E-R Diagram  \n! Extended E-R Features  \n! Design of an E-R Database Schema  \n! Reduction of an E-R Schema to Tables  \nDatabase System Concepts 2.1 ©Silberschatz, Korth and Sudarshan  \nEntity Sets  \n! A database can be modeled as:  \n\" a collection of entities,  \n\" relationship among entities.  \n! An entity is an object that exists and is distinguishable from other objects.  \n\" Example: specific person, company, event, plant  \n! Entities have attributes  \n\" Example: people have names and addresses  \n! An entity set is a set of entities of the same type that share the same properties.  \n\" Example: set of all persons, companies, trees, holidays  \nDatabase System Concepts 2.2 ©Silberschatz, Korth and Sudarshan  \nEntity Sets customer and loan  \ncustomer-id customer- customer- customer- loan- amount  \nname street city number  \n\n| |  |\n| --- | --- |\n\nDatabase System Concepts 2.3 ©Silberschatz, Korth and Sudarshan  \nAttributes  \n! An entity is represented by a set of attributes, that is descriptive properties possessed by all members of an entity set.  \nExample:  \ncustomer = (customer-id, customer-name, customer-street, customer-city)  \nloan = (loan-number, amount)  \n! Domain – the set of permitted values for each attribute  \n! Attribute types:  \n\" Simple and composite attributes.  \n\" Single-valued and multi-valued attributes  \n\\# E.g. multivalued attribute: phone-numbers  \n\" Derived attributes  \n\\# Can be computed from other attributes  \n\\# E.g. age, given date of birth  \nDatabase System Concepts 2.4 ©Silberschatz, Korth and Sudarshan  \nComposite Attributes  \nDatabase System Concepts 2.5 ©Silberschatz, Korth and Sudarshan  \nRelationship Sets  \n! A relationship is an association among several entities  \nExample:  \nHayes  depositor A-102  \ncustomer entity relationship set account entity  \n! A relationship set is a mathematical relation among n ≥ 2 entities, each taken from entity sets  \n{( e 1 , e2 ,…en ) | e 1 ∈ E1 , e2 ∈ E2 ,…, en ∈ En} where ( e 1 , e2 ,…, en ) is a relationship  \n\" Example:  \n(Hayes, A-102) ∈ depositor  \nDatabase System Concepts 2.6 ©Silberschatz, Korth and Sudarshan  \nRelationship Set borrower  \nDatabase System Concepts 2.7 ©Silberschatz, Korth and Sudarshan  \nRelationship Sets (Cont.)  \n! An attribute can also be property of a relationship set.  \n! For instance, the depositor relationship set between entity sets customer and account may have the attribute access-date  \n\n| |  |\n| --- | --- |\n|  |  |\n\nDatabase System Concepts 2.8 ©Silberschatz, Korth and Sudarshan  \nDegree of a Relationship Set  \n! Refers to number of entity sets that participate in a relationship set.  \n! Relationship sets that involve two entity sets are binary (or degree two) . Generally, most relationship sets in a database system are binary.  \n! Relationship sets may involve more than two entity sets.  \n\"E.g. Suppose employees of a bank may have jobs  \n(responsibilities) at multiple branches, with different jobs at different branches. Then there is a ternary relationship set  \nbetween entity sets employee, job and branch  \n! Relationships between more than two entity sets are rare. Most relationships are binary. (More on this later.)  \nDatabase System Concepts 2.9 ©Silberschatz, Korth and Sudarshan  \nMapping Cardinalities  \n! Express the number of entities to which another entity can be associated via a relationship set.  \n! Most useful in describing binary relationship sets.  \n! For a binary relationship set the mapping cardinality must be one of the following types:  \n\" One to one  \n\" One to many  \n\" Many to one  \n\" Many to many  \nDatabase System Concepts 2.10 ©Silberschatz, Korth and Sudarshan","cbCaiukKnZusxag1","https://ap.wps.com/l/cbCaiukKnZusxag1","pdf",2205160,73,"English","# Entity Sets\n## Attributes\n## Composite Attributes\n# Relationship Sets\n## Degree of a Relationship Set\n## Mapping Cardinalities","[{\"question\":\"What is the E-R model and what two parts does it use to model a database?\",\"answer\":\"The E-R model represents a database as a collection of entities and the relationships among those entities.\"},{\"question\":\"How does an entity differ from an entity set?\",\"answer\":\"An entity is a distinguishable object, while an entity set groups entities of the same type that share the same properties.\"},{\"question\":\"What mapping cardinalities can a binary relationship set have?\",\"answer\":\"A binary relationship set’s mapping cardinality can be one-to-one, one-to-many, many-to-one, or many-to-many.\"}]","Chapter 2: Entity-Relationship Model - Entity Sets, Relationship Sets, and Mapping | PDF",1792965696,184,[147,151,155,159,163,166,170,174],{"page_no":8,"url":148,"width":149,"height":150},"https://res-academy.cache.wpscdn.com/upload/kdocshare/2026-11-18/4a7ebe32891db6e60a4f2a7c85d01709.webp",983,759,{"page_no":14,"url":152,"width":153,"height":154},"https://res-academy.cache.wpscdn.com/upload/kdocshare/2026-11-18/b9494f54217998f0283b86d000385592.webp",982,758,{"page_no":81,"url":156,"width":157,"height":158},"https://res-academy.cache.wpscdn.com/upload/kdocshare/2026-11-18/256d4715cbc7befadf4420a1ce4f1827.webp",981,757,{"page_no":19,"url":160,"width":161,"height":162},"https://res-academy.cache.wpscdn.com/upload/kdocshare/2026-11-18/633b9c65cd1cada61c54588f01dd3368.webp",980,756,{"page_no":24,"url":164,"width":165,"height":162},"https://res-academy.cache.wpscdn.com/upload/kdocshare/2026-11-18/a45a4233ccae07b1f05e3ced0fc40387.webp",979,{"page_no":29,"url":167,"width":168,"height":169},"https://res-academy.cache.wpscdn.com/upload/kdocshare/2026-11-18/97c1b10ae69bdcb5400aa95d441938a3.webp",978,755,{"page_no":34,"url":171,"width":172,"height":173},"https://res-academy.cache.wpscdn.com/upload/kdocshare/2026-11-18/a7541f5e8d399a78ee3769cfc809fca1.webp",977,754,{"page_no":39,"url":175,"width":176,"height":177},"https://res-academy.cache.wpscdn.com/upload/kdocshare/2026-11-18/e393fc104c544c6c97e940c1d824f497.webp",976,753,{"list":179,"token":66},[180,186,192,198,204,210,217,223,230,236],{"doc_id":181,"doc_title":182,"file_type":137,"home_preview_img_url":183,"slug":184,"view_count":34,"category_name":40,"create_tm":185},655990,"Chapter 6 - Entity-Relationship Model - Database Design Concepts","https://weboffice-temporary-prod-sg.obs.ap-southeast-3.myhuaweicloud.com:443/export/thumbnail/export/thumbnail/110229975296624/last/300/407?AWSAccessKeyId=HPUAE6OPDRI9QZXR6WJG&Expires=1796108879&Signature=MCiZnlHxxLzOPvJijsKPYRkk8vE%3D","chapter-6-entity-relationship-model-database-design-concepts",1792965387,{"doc_id":187,"doc_title":188,"file_type":137,"home_preview_img_url":189,"slug":190,"view_count":34,"category_name":40,"create_tm":191},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=1796108879&Signature=eT1%2BUtkslNGXe%2FY03fjW3lRCjHg%3D","from-er-to-relational-mapping-step-by-step-guide-algorithms-for-er-and-eer",1792965386,{"doc_id":193,"doc_title":194,"file_type":137,"home_preview_img_url":195,"slug":196,"view_count":34,"category_name":40,"create_tm":197},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=1796108879&Signature=dY3b5l%2BE9fnLMzA18hzTVshgC%2Fs%3D","chapter-7-entity-relationship-model-database-design-concepts",1792966214,{"doc_id":199,"doc_title":200,"file_type":137,"home_preview_img_url":201,"slug":202,"view_count":34,"category_name":40,"create_tm":203},656004,"ER and EER - Part Two - Relationship Attributes, Weak Entities, and ER Design Choices","https://weboffice-temporary-prod-sg.obs.ap-southeast-3.myhuaweicloud.com:443/export/thumbnail/export/thumbnail/110229975297355/last/300/407?AWSAccessKeyId=HPUAE6OPDRI9QZXR6WJG&Expires=1796108879&Signature=Gu%2BoreinHbKSTtMqTkUtFRza2UI%3D","er-and-eer-part-two-relationship-attributes-weak-entities-and-er-design-choices",1792965558,{"doc_id":205,"doc_title":206,"file_type":137,"home_preview_img_url":207,"slug":208,"view_count":44,"category_name":40,"create_tm":209},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=1796108879&Signature=KoVaY21jrVmTHRrHA3q5p9KlvHk%3D","the-entity-relationship-er-model-chapter-7-lecture-outline",1792966234,{"doc_id":211,"doc_title":212,"file_type":137,"home_preview_img_url":213,"slug":214,"view_count":215,"category_name":40,"create_tm":216},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=1796108879&Signature=sZzHRI5zk8JF4DtNV7%2FQ8EGcdr0%3D","conceptual-modeling-csc2507-the-extended-entity-relationship-model-1",12,1792965463,{"doc_id":218,"doc_title":219,"file_type":137,"home_preview_img_url":220,"slug":221,"view_count":29,"category_name":40,"create_tm":222},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=1796108879&Signature=MPwDPIdt2WhZaEME5IGDrTRS%2B98%3D","entity-relationship-model-conceptual-modeling",1792965431,{"doc_id":224,"doc_title":225,"file_type":137,"home_preview_img_url":226,"slug":227,"view_count":228,"category_name":40,"create_tm":229},81486,"Entity Alignment Method of Science and Technology Patent Based on Graph Convolution Network and Information Fusion","https://weboffice-temporary-prod-sg.obs.ap-southeast-3.myhuaweicloud.com:443/export/thumbnail/export/thumbnail/110229808448133/last/300/407?AWSAccessKeyId=HPUAE6OPDRI9QZXR6WJG&Expires=1796108879&Signature=oH4Bo20k6nt1F0easit%2BKGVtrlQ%3D","entity-alignment-method-of-science-and-technology-patent-based-on-graph-convolution-network-and-information-fusion",31,1784173765,{"doc_id":231,"doc_title":232,"file_type":137,"home_preview_img_url":233,"slug":234,"view_count":44,"category_name":40,"create_tm":235},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=1796108879&Signature=Sc80VtAZEOSkXgc5ULCwxgbwlpg%3D","database-schema-design-using-entity-relationship-approach-er-approach-or-er-model",1792965274,{"doc_id":237,"doc_title":238,"file_type":137,"home_preview_img_url":239,"slug":240,"view_count":52,"category_name":40,"create_tm":241},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=1796108879&Signature=GAe4zfbQLqlq5%2FBy2rTvTEo%2FbTk%3D","phase-2-of-database-design-mapping-an-eer-diagram-to-a-relational-model",1792965553]