网站大量收购独家精品文档,联系QQ:2885784924

Ch4 High-Level Database Models.ppt

  1. 1、本文档共80页,可阅读全部内容。
  2. 2、有哪些信誉好的足球投注网站(book118)网站文档一经付费(服务费),不意味着购买了该文档的版权,仅供个人/单位学习、研究之用,不得用于商业用途,未经授权,严禁复制、发行、汇编、翻译或者网络传播等,侵权必究。
  3. 3、本站所有内容均由合作方或网友上传,本站不对文档的完整性、权威性及其观点立场正确性做任何保证或承诺!文档内容仅供研究参考,付费前请自行鉴别。如您付费,意味着您自己接受本站规则且自行承担风险,本站不退款、不进行额外附加服务;查看《如何避免下载的几个坑》。如果您已付费下载过本站文档,您可以点击 这里二次下载
  4. 4、如文档侵犯商业秘密、侵犯著作权、侵犯人身权等,请点击“版权申诉”(推荐),也可以打举报电话:400-050-0827(电话支持时间:9:00-18:30)。
查看更多
Database Principles Chapter4 High-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

文档评论(0)

yan666888 + 关注
实名认证
内容提供者

该用户很懒,什么也没介绍

1亿VIP精品文档

相关文档