- 1、原创力文档(book118)网站文档一经付费(服务费),不意味着购买了该文档的版权,仅供个人/单位学习、研究之用,不得用于商业用途,未经授权,严禁复制、发行、汇编、翻译或者网络传播等,侵权必究。。
- 2、本站所有内容均由合作方或网友上传,本站不对文档的完整性、权威性及其观点立场正确性做任何保证或承诺!文档内容仅供研究参考,付费前请自行鉴别。如您付费,意味着您自己接受本站规则且自行承担风险,本站不退款、不进行额外附加服务;查看《如何避免下载的几个坑》。如果您已付费下载过本站文档,您可以点击 这里二次下载。
- 3、如文档侵犯商业秘密、侵犯著作权、侵犯人身权等,请点击“版权申诉”(推荐),也可以打举报电话:400-050-0827(电话支持时间:9:00-18:30)。
- 4、该文档为VIP文档,如果想要下载,成为VIP会员后,下载免费。
- 5、成为VIP后,下载本文档将扣除1次下载权益。下载后,不支持退款、换文档。如有疑问请联系我们。
- 6、成为VIP后,您将拥有八大权益,权益包括:VIP文档下载权益、阅读免打扰、文档格式转换、高级专利检索、专属身份标志、高级客服、多端互通、版权登记。
- 7、VIP文档为合作方或网友上传,每下载1次, 网站将根据用户上传文档的质量评分、类型等,对文档贡献者给予高额补贴、流量扶持。如果你也想贡献VIP文档。上传文档
查看更多
Chapter 2: Relational Model Chapter 2: Relational Model Structure of Relational Databases Fundamental Relational-Algebra-Operations Additional Relational-Algebra-Operations Extended Relational-Algebra-Operations Null Values Modification of the Database Example of a Relation Basic Structure Formally, given sets D1, D2, …. Dn a relation r is a subset of D1 x D2 x … x DnThus, a relation is a set of n-tuples (a1, a2, …, an) where each ai ? Di Example: If customer_name = {Jones, Smith, Curry, Lindsay, …} /* Set of all customer names */ customer_street = {Main, North, Park, …} /* set of all street names*/ customer_city = {Harrison, Rye, Pittsfield, …} /* set of all city names */ Then r = { (Jones, Main, Harrison), (Smith, North, Rye), (Curry, North, Rye), (Lindsay, Park, Pittsfield) } is a relation over customer_name x customer_street x customer_city Attribute Types Each attribute of a relation has a name The set of allowed values for each attribute is called the domain of the attribute Attribute values are (normally) required to be atomic; that is, indivisible E.g. the value of an attribute can be an account number, but cannot be a set of account numbers Domain is said to be atomic if all its members are atomic The special value null is a member of every domain The null value causes complications in the definition of many operations We shall ignore the effect of null values in our main presentation and consider their effect later Relation Schema A1, A2, …, An are attributes R = (A1, A2, …, An ) is a relation schema Example: Customer_schema = (customer_name, customer_street, customer_city) r(R) denotes a relation r on the relation schema R Example: customer (Customer_schema) Relation Instance The current values (relation instance) of a relation are specified by a table An element t of r is a tuple, represented by a row in a table Relations are Unordered
您可能关注的文档
- 新人教版选修5第一章_认识有机化合物_第四节_研究有机化合物的一般步骤及方法课件.ppt
- 工程项目根本不会后悔_附件.ppt
- 贵州“万村千乡”网页工程培训课程.ppt
- 松辽盆地升平油田葡萄花油层水动力成藏机制的研究.pdf
- 大跨悬浇连续箱梁绘图V70用户手册应用.pdf
- 第4节 创建工程项目零件特征.ppt
- 广外教务的管理系统.doc
- 新标准英语第七册I usually get up at half past six.要点.ppt
- 第四篇 系统设计几个问题.ppt
- 第4篇80C51汇编语言程序设计.ppt
- RCSI-chap4.1-构建安全的园区网络与基础知识-v2.1.ppt
- 【最新—中考必备】安徽专版2014中考复习的方案课件皖考解读+考点聚焦+皖考探究:第6课时 机械运动.ppt
- 工业的设计概论教材.pdf
- 腾讯生活通的应用说明书.pdf
- 鹏博士2012年报信息服务资金筹集鹏博士电信传媒集团股份有限公司财务的管理_九舍会智库.pdf
- 《百数图》教学的设计__陶文迪1.doc
- 李宗伯--计算机硬件系列实验建设探索资料.ppt
- 科迪特睿特造价的管理平台使用技巧2011版.doc
- 兰太实业2012年报石油化工成本控制内蒙古兰太实业股份有限公司财务的管理_九舍会智库.pdf
- 高中必修3历史第19课建国以来重大科技成就-副本.ppt
最近下载
- 2025年陕西省国家公务员考试《行政职业能力测试》真题及答案解析.docx VIP
- 人教版(2024)数学三年级上册《数学广角:搭配问题》PPT课件.pptx VIP
- 普华永道:数据资产价值评价指标分析 -pwc.pdf VIP
- 医院危急值报告制度(2024) .pdf VIP
- 《危重患者抢救流程》课件.ppt VIP
- 福建省福州市英语小学六年级上学期期末试卷与参考答案(2024年).docx VIP
- 颈部疾病术后护理.pptx VIP
- 2022年甘肃省特岗教师招聘考试《公共基础知识》笔试真题与答案解析.docx VIP
- GTAKE吉泰科 GK610系列变频器用户手册.pdf VIP
- 2023年甘肃省特岗教师招聘考试《公共基础知识》笔试真题与答案解析.docx VIP
原创力文档


文档评论(0)