- 1、本文档共65页,可阅读全部内容。
- 2、原创力文档(book118)网站文档一经付费(服务费),不意味着购买了该文档的版权,仅供个人/单位学习、研究之用,不得用于商业用途,未经授权,严禁复制、发行、汇编、翻译或者网络传播等,侵权必究。
- 3、本站所有内容均由合作方或网友上传,本站不对文档的完整性、权威性及其观点立场正确性做任何保证或承诺!文档内容仅供研究参考,付费前请自行鉴别。如您付费,意味着您自己接受本站规则且自行承担风险,本站不退款、不进行额外附加服务;查看《如何避免下载的几个坑》。如果您已付费下载过本站文档,您可以点击 这里二次下载。
- 4、如文档侵犯商业秘密、侵犯著作权、侵犯人身权等,请点击“版权申诉”(推荐),也可以打举报电话:400-050-0827(电话支持时间:9:00-18:30)。
查看更多
More on ER Model Detail Relationships 4 Attributes Attribute A property or characteristic of an entity type that is of interest to the organisation Simple Attribute An attribute that cannot be broken down into smaller components e.g. Emp No Attributes Cont’d Composite Attribute An attribute that can be broken down into component parts e.g. Address (Street, City, State, Postal Code) Name (First Name, Middle Initials, Last Name) Attributes Cont’d Stored Attribute An attribute whose valued is stored in the database Derived Attribute An attribute whose values can be calculated from related attribute values e.g. Years Employed (using Employed Date) Age (using Date of Birth) Identifier Composite Identifier An identifier that consists of a composite attribute e.g. Flight Id (Flight No, Date) Identifier Choose an identifier that will not change its value over the life of each instance of the entity type Choose an identifier such that each instance of the entity type, the attribute is guaranteed to have valid values and not be null (or unknown) Avoid the use of so-called intelligent identifiers, whose structure indicates classifications, etc. Consider substituting single-attribute identifiers for large composite identifiers Entity Types Weak Entity An entity types whose existence depends on some other entity Entity Types Identifying Relationship A relationship between a weak entity type and its owner Sample Entity Definitions Name: Department Type: Regular Definition: a department of an organisation Identifier: Dept_No Name: Dependent Type: Weak Definition: a person who is a dependent of an employee and entitle for insurance Identifier: Depd_Name (partial only) Sample Attribute Definitions Name: Emp_No Domain: employee identities Definition: unique identifier of an employee Null: No Name: Emp_Name Components: First_Name, Mid_Initials, Last_Name Definition: a partial identifier of a name Null: No Sample Relationship Definitions Name: Works_for
您可能关注的文档
- Modular Unit-0902 墩台计算课件.ppt
- Modular Unit-1002 涵洞的设计与计算课件.ppt
- Modular Unit-1101 施工准备课件.ppt
- Modular Unit-1102 支架、拱 架与 模板工程课件.ppt
- Modular Unit-1105 石拱桥的施工课件.ppt
- Modular Unit-1109 墩台施工课件.ppt
- Modular Unit-1112 斜拉桥与悬索桥施工简介课件.ppt
- Module 1 Nice to meet you课件.ppt
- Module 2 Education Unit 3Language in use课件.ppt
- Module 2 Education课件.ppt
文档评论(0)