- 1、本文档共80页,可阅读全部内容。
- 2、原创力文档(book118)网站文档一经付费(服务费),不意味着购买了该文档的版权,仅供个人/单位学习、研究之用,不得用于商业用途,未经授权,严禁复制、发行、汇编、翻译或者网络传播等,侵权必究。
- 3、本站所有内容均由合作方或网友上传,本站不对文档的完整性、权威性及其观点立场正确性做任何保证或承诺!文档内容仅供研究参考,付费前请自行鉴别。如您付费,意味着您自己接受本站规则且自行承担风险,本站不退款、不进行额外附加服务;查看《如何避免下载的几个坑》。如果您已付费下载过本站文档,您可以点击 这里二次下载。
- 4、如文档侵犯商业秘密、侵犯著作权、侵犯人身权等,请点击“版权申诉”(推荐),也可以打举报电话:400-050-0827(电话支持时间:9:00-18:30)。
查看更多
Database Principles Chapter4High-Level Database Models The Entity/Relationship Model Design Principles Constraints in E/R Model Weak Entity Sets From E/R Diagrams to Relational Designs 4.1 The Entity/Relationship Model The concept model is represented by Entity-Relationship(E-R)diagrams. The E/R model Describes kinds of data and how they connected. Can be converted to relational model later. Conceptual Model Entity(实体) : The things existent objectively and distinguished each from other possibly are called Entity. It can be the actual things;can be the abstract concepts or relationship Examples:Employee,Student,Department Attributes(属性): The properties of a entity are called attributes of that entity. Examples: Entity Student can has attributes Number of student,name ,age, berth date and etc. Conceptual Model(Cont.) Key(码) The attribute that can identify the entity uniquely is called the Key of that Entity Domain(域) The scope in which the attribute’s value falls. Conceptual Model(Cont.) Entity Type(实体型) Representation of a class of entities with the same attributes and the same properties; The entity name and the attribute’s name are used to represent entity type. Example: Student ( Num, Name,Sex,Age, Berth Date,Dept) is student entity type Entity Set(实体集) The set of entities with the same entity type; Example: All students Conceptual Model(Cont.) Relationships(联系) A relationship connects two or more entity sets. It is represented by a diamond, with lines to each of the entity sets involved. E/R Diagrams In an entity-relationship diagram: Entity set = rectangle. Attribute = oval, with a line to the rectangle representing its entity set. Example Entity set Stars has two attributes, name and address. Each star has values for these two attributes. Relationships A relationship connects two or more entity sets. It is represented by a diamond, with lines to each of the entity sets involved. Example Relationship Set E/R diagram desc
您可能关注的文档
- 金蝶K3凭证处理.ppt
- 纳税评估常见问题的税务处理、会计帐务调整和报表填写.ppt
- 期货经纪业务核算.ppt
- 数据库《Visual_FoxPro》模拟试卷5.doc
- 税务 基础会计第二章 会计科目与.ppt
- ATI显卡驱动中文使用说明.doc
- Access期末复习习题及答案.doc
- 小学四年级数学口算题每页60道直接打印.doc
- 第02章会计科目、账户与复式记账.ppt
- 第2章 会计科目与帐户.ppt
- [中央]2023年中国电子学会招聘应届生笔试历年参考题库附带答案详解.docx
- [吉安]2023年江西吉安市青原区总工会招聘协理员笔试历年参考题库附带答案详解.docx
- [中央]中华预防医学会科普信息部工作人员招聘笔试历年参考题库附带答案详解.docx
- [保定]河北保定市第二医院招聘工作人员49人笔试历年参考题库附带答案详解.docx
- [南通]江苏南通市崇川区人民法院招聘专职人民调解员10人笔试历年参考题库附带答案详解.docx
- [厦门]2023年福建厦门市机关事务管理局非在编工作人员招聘笔试历年参考题库附带答案详解.docx
- [三明]2023年福建三明市尤溪县招聘小学幼儿园新任教师79人笔试历年参考题库附带答案详解.docx
- [哈尔滨]2023年黑龙江哈尔滨市木兰县调配事业单位工作人员笔试历年参考题库附带答案详解.docx
- [上海]2023年上海市气象局所属事业单位招聘笔试历年参考题库附带答案详解.docx
- [台州]2023年浙江台州椒江区招聘中小学教师40人笔试历年参考题库附带答案详解.docx
文档评论(0)