- 1、原创力文档(book118)网站文档一经付费(服务费),不意味着购买了该文档的版权,仅供个人/单位学习、研究之用,不得用于商业用途,未经授权,严禁复制、发行、汇编、翻译或者网络传播等,侵权必究。。
- 2、本站所有内容均由合作方或网友上传,本站不对文档的完整性、权威性及其观点立场正确性做任何保证或承诺!文档内容仅供研究参考,付费前请自行鉴别。如您付费,意味着您自己接受本站规则且自行承担风险,本站不退款、不进行额外附加服务;查看《如何避免下载的几个坑》。如果您已付费下载过本站文档,您可以点击 这里二次下载。
- 3、如文档侵犯商业秘密、侵犯著作权、侵犯人身权等,请点击“版权申诉”(推荐),也可以打举报电话:400-050-0827(电话支持时间:9:00-18:30)。
查看更多
Week 4September 19.ppt
Week 4September 19 Relational Data Model Views Relational Model Objectives A degree of data independence Address data semantic, consistency and redundancy problems Set-oriented data manipulation language Structured Query Language (SQL) Domain of an Attribute Set of allowable values for one or more attributes Properties of Relations Distinct (i.e., unique) relation name Each cell contains exactly one atomic (single) value No repeating groups Distinct attribute name The values of an attribute come from the same domain Order of attributes has no significance Each tuple is distinct (i.e., unique) No duplicate tuples Order of tuples has no significance Unique Identification of a Relation Identifying a Tuple SuperkeyAn attribute or a set of attributes that uniquely identifies a tuple within a relation Candidate keyA super key such that no proper subset is a superkey within the relation Uniquely identifies the tuple (uniqueness) Contains no unique subset (irreducibility) Primary keyThe candidate key that is selected to identify tuples uniquely within a relation Should remain constant over the life of the tuple Most efficient way of identifying a tuple Finding the Primary Key Keys Selecting a Key Criteria An efficient way of identifying an entity The attribute (value) remains constant over the life of the entity Never changes Identifying a Tuple Foreign keyAn attribute or set of attributes within one relation that matches the candidate key of some (possibly the same) relation Foreign Key Relational Integrity Constraints placed on the set of values allowed for the attributes of a relation. Entity integrity No attribute of a primary key can be null (every tuple must be uniquely identified) Referential integrity If a foreign key exists in a relation, either the foreign key value must match a candidate key value of some tuple in its home relation, or the foreign key value must be wholly null (i.e., no key exists in the home relation) General constraints (reflect bus
您可能关注的文档
- Targeting inflation in Asia and the Pacific.ppt
- Taxes levied on Cigarettes.ppt
- Taxonomy Review.ppt
- Team Software Process.ppt
- Teen Nutrition.ppt
- Texas Strategic Military Planning Commission.ppt
- The 6th period Lesson 4.ppt
- THE AMERICAN DREAM.ppt
- The Applications of Nano Materials.ppt
- The ASIA EUROPE ALLIANCE for PAPERLESS TRADING.ppt
- Welcome to My Class in This Poetic Winter!.ppt
- Welcome to quanzhou.ppt
- What time when does your school start .ppt
- Why Are We HereTom Peters spbt Toronto 06.17.2002.ppt
- Why would you like to go abroad.ppt
- Why you should get your AA in Anthropology.ppt
- Will people have robots .ppt
- William Hayes, PhDPhoebe Roberts, PhDMarch 19, 2007.ppt
- William Shakespeare's Hamlet, Prince of Denmark.ppt
- WIN2K Mirror DriverDeveloping.ppt
最近下载
- 中学地理学科课程标准与教材研究教学大纲.pdf VIP
- 中建X局各类建筑工程技术经济指标.docx VIP
- 我们的手上有多少细菌?.doc VIP
- 第一单元 观察物体 大单元教学设计2025数学人教版三年级上册(新教材).pdf
- 年东北财经大学国际商学院(校本部) 联招联考项目招生指南.pdf VIP
- 驾驶员安全生产操作规程 - 生产安全.docx VIP
- 公务员(国考)之行政职业能力测验题库附答案(基础题)收藏.docx VIP
- 全册部编版六年级上册全册道德与法治教学课件.pptx
- 第二章-空气流动压力及阻力.pptx VIP
- 2025年全国农产品质量安全检测技能竞赛理论知识考试题库(含答案.docx VIP
文档评论(0)