- 1、原创力文档(book118)网站文档一经付费(服务费),不意味着购买了该文档的版权,仅供个人/单位学习、研究之用,不得用于商业用途,未经授权,严禁复制、发行、汇编、翻译或者网络传播等,侵权必究。。
- 2、本站所有内容均由合作方或网友上传,本站不对文档的完整性、权威性及其观点立场正确性做任何保证或承诺!文档内容仅供研究参考,付费前请自行鉴别。如您付费,意味着您自己接受本站规则且自行承担风险,本站不退款、不进行额外附加服务;查看《如何避免下载的几个坑》。如果您已付费下载过本站文档,您可以点击 这里二次下载。
- 3、如文档侵犯商业秘密、侵犯著作权、侵犯人身权等,请点击“版权申诉”(推荐),也可以打举报电话:400-050-0827(电话支持时间:9:00-18:30)。
查看更多
ch2-v6 Intro to Relational Model要点
* * * * * * * * * * * * * * * * * * ?Silberschatz, Korth and Sudarshan 2.* Database System Concepts - 6th Edition Database System Concepts, 6th Ed. ?Silberschatz, Korth and SudarshanSee for conditions on re-use Chapter 2: Intro to Relational Model Chapter 2: Relational Model 2.1 Structure of Relational Databases 2.2 Database Schema 2.3 Keys 2.4 Schema Diagrams 2.5 Relational Query Languages 2.6 Relational Operations Example of a Relation attributes (or columns) tuples (or rows) 2.1 Structure of Relational Databases Attribute Types 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 The special value null is a member of every domain The null value causes complications in the definition of many operations 2.1 Structure of Relational Databases Relation Schema and Instance A1, A2, …, An are attributes R = (A1, A2, …, An ) is a relation schema Example: instructor = (ID, name, dept_name, salary) 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 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 2.1 Structure of Relational Databases Relations are Unordered Order of tuples is irrelevant Example: instructor relation with unordered tuples 2.1 Structure of Relational Databases * 2.1.1关系数据结构 关 系 结 构 基 本 性质 第2章 关系模型与运算: 2.1 关系数据模型(2) 列的同质性,一列数据取自同一域 异列同域性,不同列可取相同域的数据 列的无序性 元组相异性,不存在 两个完全相同的元组 属性原子性,域的原子性 2.2 Database Schema A database consists of multiple relations Information about an enterprise is broken up into parts instructor student advisor Bad design: univ (instructor -ID, name, dept_name, salary, student_Id, ..) results in : repetition of information the need for null values Normalization theory (Chapter 7) deals with how
您可能关注的文档
最近下载
- 细胞与基因治疗国内法规汇编 2024 05.pdf VIP
- 2025北师大数学三年级上册第二单元《测量(二)》单元整体设计.docx
- (2024版)苏教版三年级上册数学7.1分析数量关系解决问题(1)课件.pptx VIP
- 色彩分解的表现课件.ppt VIP
- 肾上腺外科疾病的诊断和治疗进展.pptx VIP
- 《机械基础》课件 孟莹 单元1--4 静力学--- 螺纹连接与螺旋机构.pptx
- 2025年注册化工工程师专业基础考试试题(附答案).docx VIP
- 发酵混合饲料生产技术规范.pdf VIP
- 马克思《博士论文》导读9培训课件.ppt VIP
- 华医网2025年《临床护士中医护理技能提升与实践应用》习题答案.pdf
原创力文档


文档评论(0)