[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"detail-sidebar-cat-0-en-105":3,"doc-seo-656100-105":59,"doc-detail-656100-en":130,"doc-similar-656100":163},{"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","e-r-diagram-subclass-e-r-to-relational-design","E-R Diagram - Subclass, E-R to relational design","","Lecture notes for CS 4750 Database Systems on E-R modeling with a focus on subclassing and converting E-R diagrams to relational designs. The material defines key building blocks such as strong and weak entity sets, relationship and attributes, and clarifies that colors are only for readability. It includes a worked example involving Movies, Cartoons, and Murder-Mysteries, plus a design decision on whether “price” should be an entity or an attribute, framed by tuples with corresponding values.",{"@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":20,"@type":76,"position":81},"https://docshare.wps.com/document/exam/",3,{"item":83,"name":65,"@type":76,"position":19},"https://docshare.wps.com/document/e-r-diagram-subclass-e-r-to-relational-design/656100/",{"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/e-r-diagram-subclass-e-r-to-relational-design/656100.png","ImageObject",300,407,{"name":92,"@type":93},"Tirek","Person",{"url":74,"name":95,"@type":96},"DocShare","Organization","application/pdf","2026-11-25","2026-10-25",true,{"@type":102,"interactionType":103,"userInteractionCount":29},"InteractionCounter",{"@type":104},"ViewAction",{"@type":106,"mainEntity":107},"FAQPage",[108,114,118],{"name":109,"@type":110,"acceptedAnswer":111},"What is the difference between an entity and an attribute in these notes?","Question",{"text":112,"@type":113},"The recap section highlights the main differences between entities and attributes as a foundation for deciding what becomes a table or a column in relational design.","Answer",{"name":115,"@type":110,"acceptedAnswer":116},"How do Cartoons differ from Movies in the E-R model?",{"text":117,"@type":113},"Cartoons have an additional relationship called Voices, which provides a set of stars who speak but do not appear in the movie. Movies that are not cartoons do not have such stars.",{"name":119,"@type":110,"acceptedAnswer":120},"Why is the “price” design decision important?",{"text":121,"@type":113},"The notes ask whether “price” should be an entity or an attribute, using the statement that for each tuple (person, product, vendor) there is a corresponding price value.","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},656100,1793091437,{"code":4,"msg":5,"data":131},{"doc_id":128,"user_id":132,"nickname":92,"user_avatar":133,"doc_module":4,"category_id":19,"category_name":20,"doc_title":65,"doc_description":67,"doc_content":134,"file_id":135,"file_url":136,"file_type":137,"file_size":138,"view_count":29,"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},5909896572756,"https://ap-avatar.wpscdn.com/davatar_155a257f0dc6eb9ab79c44ca47cae57d","E-R Diagram:   \nSubclass, E-R to relational design  \nCS 4750 Database Systems  \n[A. Silberschatz, H. F. Korth, S. Sudarshan, Database System Concepts, Ch.6]  \n[C.M. Ricardo and S.D. Urban, Database Illuminated, Ch.3]  \nFall 2026 – University of Virginia © Praphamontripong 1  \nrevisit  \nE-R Diagram: Building Blocks  \n(strong) Entity set  \n| Attribute | |\n| --- | --- |\n| Relationship | |\n\nWeak entity  \n| Subclass | |\n| --- | --- |\n\nNote: colors are not part of E-R Diagram. They simply are used to increase readability.  \nFall 2026 – University of Virginia © Praphamontripong 2  \nLet’s try: Subclassing (Movies)   \nConsider the following (partial) description of a movie scenario .  \nEach movie has a title and year; title and year together uniquely identify the movie. Length and genre are maintained for each movie .  \nAmong the special kinds of movies, we might store in our database are cartoons and murder mysteries .  \nA cartoon has, in addition to the attributes and relationships of Movies, an additional relationship called Voices that gives us a set of stars who speak, but do not appear in the movie . Movies that are not cartoons do not have such stars .  \nMurder-mysteries have an additional attribute weapon .  \nDraw an E-R diagram to show the connections among the three entity sets: Movies, Cartoons, and Murder-Mysteries.  \nFall 2026 – University of Virginia © Praphamontripong 5  \nLet’s try: Subclassing (Movies)   \nDraw an E-R diagram to show the connections among the 3 entity sets: Movies, Cartoons, and Murder-Mysteries (from previous page)  \nFall 2026 – University of Virginia © Praphamontripong 6  \nDone with the building blocks Let’s transition to design decision and converting E-R diagram into Relational designs  \nFall 2026 – University of Virginia © Praphamontripong 7  \nRecap: Entity vs. Attribute  \nWhat are main differences between entities and attributes?  \nFall 2026 – University of Virginia © Praphamontripong 8  \nDesign Decision  \nShould “price” be an entity or an attribute?   \nprice  \nFor each tuple (person, product, vendor), there is a value of price  \nFall 2026 – University of Virginia © Praphamontripong 9","cbCaifsEtjHR74ea","https://ap.wps.com/l/cbCaifsEtjHR74ea","pdf",934133,39,"English","# E-R Diagram: Building Blocks\n## Strong entity set\n## Weak entity\n## Note on diagram colors\n# Subclassing Example: Movies\n## Cartoons and Voices relationship\n## Murder-Mysteries and weapon attribute\n# Transition: E-R to Relational Designs\n# Recap: Entity vs. Attribute\n# Design Decision: Price as entity or attribute","[{\"question\":\"What is the difference between an entity and an attribute in these notes?\",\"answer\":\"The recap section highlights the main differences between entities and attributes as a foundation for deciding what becomes a table or a column in relational design.\"},{\"question\":\"How do Cartoons differ from Movies in the E-R model?\",\"answer\":\"Cartoons have an additional relationship called Voices, which provides a set of stars who speak but do not appear in the movie. Movies that are not cartoons do not have such stars.\"},{\"question\":\"Why is the “price” design decision important?\",\"answer\":\"The notes ask whether “price” should be an entity or an attribute, using the statement that for each tuple (person, product, vendor) there is a corresponding price value.\"}]","E-R Diagram - Subclass, E-R to relational design | PDF",1792966355,98,[147,151,155,159],{"page_no":8,"url":148,"width":149,"height":150},"https://res-academy.cache.wpscdn.com/upload/kdocshare/2026-11-18/047cde17678da76c18da4879d163b436.webp",983,759,{"page_no":14,"url":152,"width":153,"height":154},"https://res-academy.cache.wpscdn.com/upload/kdocshare/2026-11-18/67bf4420f6a70e6b27d8e7cc4f975cfb.webp",982,758,{"page_no":81,"url":156,"width":157,"height":158},"https://res-academy.cache.wpscdn.com/upload/kdocshare/2026-11-18/c6849e5bf76ba5ee63241c8a97409c96.webp",981,757,{"page_no":19,"url":160,"width":161,"height":162},"https://res-academy.cache.wpscdn.com/upload/kdocshare/2026-11-18/88d1f676fa3f6fd3c780e7b3f585ee61.webp",980,756,{"list":164,"token":66},[165,171,178,185,191,197,203,210,217,224],{"doc_id":166,"doc_title":167,"file_type":137,"home_preview_img_url":168,"slug":169,"view_count":44,"category_name":20,"create_tm":170},656087,"ER Model Notes - Database Design Concepts","https://weboffice-temporary-prod-sg.obs.ap-southeast-3.myhuaweicloud.com:443/export/thumbnail/export/thumbnail/110229975299846/last/300/407?AWSAccessKeyId=HPUAE6OPDRI9QZXR6WJG&Expires=1796201339&Signature=2aR0NYVVNPJPd6t3Id8A8Kd04C4%3D","er-model-notes-database-design-concepts",1792966230,{"doc_id":172,"doc_title":173,"file_type":137,"home_preview_img_url":174,"slug":175,"view_count":176,"category_name":20,"create_tm":177},656144,"Databases Exam - 22 March 2019 - Exam Instructions and Questions","https://weboffice-temporary-prod-sg.obs.ap-southeast-3.myhuaweicloud.com:443/export/thumbnail/export/thumbnail/110229975301640/last/300/407?AWSAccessKeyId=HPUAE6OPDRI9QZXR6WJG&Expires=1796201339&Signature=P4Z4zF4cKQ9FD9op78KMPwFjihY%3D","databases-exam-22-march-2019-exam-instructions-and-questions",17,1792966704,{"doc_id":179,"doc_title":180,"file_type":137,"home_preview_img_url":181,"slug":182,"view_count":183,"category_name":20,"create_tm":184},678108,"DATABASE MANAGEMENT SYSTEM - LECTURE NOTES - UNIT 1 INTRODUCTION TO DATABASE MANAGEMENT SYSTEM AND ENTITY RELATIONSHIP MODEL","https://weboffice-temporary-prod-sg.obs.ap-southeast-3.myhuaweicloud.com:443/export/thumbnail/export/thumbnail/110229994799943/last/300/407?AWSAccessKeyId=HPUAE6OPDRI9QZXR6WJG&Expires=1796201339&Signature=yVPQ6QjiiTCSO7zOtHZCnCxsbVU%3D","database-management-system-lecture-notes-unit-1-introduction-to-database-management-system-and-entity-relationship-model",12,1793784450,{"doc_id":186,"doc_title":187,"file_type":137,"home_preview_img_url":188,"slug":189,"view_count":39,"category_name":20,"create_tm":190},656090,"CS344 - Database Management Systems - ER Modelling Lecture Notes - Part 2","https://weboffice-temporary-prod-sg.obs.ap-southeast-3.myhuaweicloud.com:443/export/thumbnail/export/thumbnail/110229975299866/last/300/407?AWSAccessKeyId=HPUAE6OPDRI9QZXR6WJG&Expires=1796201339&Signature=smWuDgigvNqmH8uY2BZI28rlELE%3D","cs344-database-management-systems-er-modelling-lecture-notes-part-2",1792966235,{"doc_id":192,"doc_title":193,"file_type":137,"home_preview_img_url":194,"slug":195,"view_count":183,"category_name":20,"create_tm":196},388478,"Driver CPC Centre Checklist - Self-Assessment - June 2024","https://weboffice-temporary-prod-sg.obs.ap-southeast-3.myhuaweicloud.com:443/export/thumbnail/export/thumbnail/110229916548827/last/300/407?AWSAccessKeyId=HPUAE6OPDRI9QZXR6WJG&Expires=1796201339&Signature=JWhEBHXM8nujZxRDduRiOVEiEzw%3D","driver-cpc-centre-checklist-self-assessment-june-2024",1790304489,{"doc_id":198,"doc_title":199,"file_type":137,"home_preview_img_url":200,"slug":201,"view_count":52,"category_name":20,"create_tm":202},657508,"Tanabe-Sugano Diagram - d2 System - Study Notes","https://weboffice-temporary-prod-sg.obs.ap-southeast-3.myhuaweicloud.com:443/export/thumbnail/export/thumbnail/110229975524333/last/300/407?AWSAccessKeyId=HPUAE6OPDRI9QZXR6WJG&Expires=1796201339&Signature=KDoqMZDSIjy7tv1tbO8Zj%2F%2F9sRQ%3D","tanabe-sugano-diagram-d2-system-study-notes",1792981724,{"doc_id":204,"doc_title":205,"file_type":137,"home_preview_img_url":206,"slug":207,"view_count":208,"category_name":20,"create_tm":209},30189,"MAHAJYOTI BARTI SARTHI TRTI MPSC CET 2024 Question Paper with Solutions","https://weboffice-temporary-prod-sg.obs.ap-southeast-3.myhuaweicloud.com:443/export/thumbnail/export/thumbnail/110229724648473/last/300/407?AWSAccessKeyId=HPUAE6OPDRI9QZXR6WJG&Expires=1796201339&Signature=7DN2DerRIOGtdjELSjaMP%2FnJqe8%3D","mahajyoti-barti-sarthi-trti-mpsc-cet-2024-question-paper",6722,1778285986,{"doc_id":211,"doc_title":212,"file_type":137,"home_preview_img_url":213,"slug":214,"view_count":215,"category_name":20,"create_tm":216},30575,"Pinnacle SSC Maths 7th Edition in English","https://weboffice-temporary-prod-sg.obs.ap-southeast-3.myhuaweicloud.com:443/export/thumbnail/export/thumbnail/110229724812523/last/300/407?AWSAccessKeyId=HPUAE6OPDRI9QZXR6WJG&Expires=1796201339&Signature=7uT7zG4kZWpmqM8%2BEXteMqaS8t0%3D","pinnacle-ssc-maths-7th-edition-in-english",4876,1778287912,{"doc_id":218,"doc_title":219,"file_type":137,"home_preview_img_url":220,"slug":221,"view_count":222,"category_name":20,"create_tm":223},30560,"Pinnacle SSC General Studies 7th Edition in English","https://weboffice-temporary-prod-sg.obs.ap-southeast-3.myhuaweicloud.com:443/export/thumbnail/export/thumbnail/110229724655912/last/300/407?AWSAccessKeyId=HPUAE6OPDRI9QZXR6WJG&Expires=1796201339&Signature=3SsQ5ingtY9HHqsV41fZTA%2B7TU4%3D","pinnacle-ssc-general-studies-7th-edition-in-english",3161,1778287783,{"doc_id":225,"doc_title":226,"file_type":137,"home_preview_img_url":227,"slug":228,"view_count":229,"category_name":20,"create_tm":230},30906,"ACCA SBR Strategic Business Reporting Study Text 2025-26","https://weboffice-temporary-prod-sg.obs.ap-southeast-3.myhuaweicloud.com:443/export/thumbnail/export/thumbnail/110229725712789/last/300/407?AWSAccessKeyId=HPUAE6OPDRI9QZXR6WJG&Expires=1796201339&Signature=r%2Fh8Bswxfw9Uz5v6rHP7QlPze6k%3D","acca-sbr-strategic-business-reporting-study-text-2025-26",2566,1778363092]