数据库系统概论之关系数据理论.pdf
2.虚拟产品一经售出概不退款(资源遇到问题,请及时私信上传者)
An Introduction to Database System An Introduction to Database System An Introduction to Database System An Introduction to Database System 数据库系统概论 数据库系统概论 数据库系统概论 数据库系统概论 An Introduction to Database System An Introduction to Database System An Introduction to Database System An Introduction to Database System 第六章 关系数据理论 An Introduction to Database System An Introduction to Database System An Introduction to Database System An Introduction to Database System 6.1 6.1 6.1 6.1 问题的提出 关系数据库逻辑设计 针对具体问题,如何构造一个适合于它的数据模式? 关系数据库应该组织成几个关系模式 关系模式中有包括哪些属性 数据库逻辑设计的工具 关系数据库的规范化理论 关系数据库设计理论就是借助于数学工具规定了一整套 的关系数据库设计理论和方法。 An Introduction to Database System An Introduction to Database System An Introduction to Database System An Introduction to Database System 一、概念回顾 关系 关系模式 关系数据库 关系数据库的模式 An Introduction to Database System An Introduction to Database System An Introduction to Database System An Introduction to Database System 二、关系模式的形式化定义 关系模式(Relation Schema)是对一个关系的描述,用来定义关系 关系模式由五部分组成,即它是一个五元组: R(U, D, DOM, F) R: 关系名 U: 组成该关系的属性名集合 D: 属性组U中属性所来自的域 DOM: 属性向域的映象集合 F: 属性间数据的依赖关系集合 An Introduction to Database System An Introduction to Database System An Introduction to Database System An Introduction to Database System 三、什么是数据依赖 1. 完整性约束的表现形式 限定属性取值范围:例如学生成绩必须在0-100之间 定义属性值间的相互关连(主要体现于值的相等与 否),这就是数据依赖,它是数据库模式设计的关键 An Introduction to Database System An Introduction to Database System An Introduction to Database System An Introduction to Database System 什么是数据依赖(续) 2. 数据依赖 一个关系内部属性与属性之间的约束关系 现实世界属性间相互联系的抽象 数据内在的性质 语义的体现 An Introduction to Database System An Introduction to Database System An Introduction to Database System An Introduction to Database System 什么是数据依赖(续) 3. 数据依赖的类型 函数依赖(Functional Dependency,简记为FD) 多值依赖(Multivalued Dependency,简记为MVD) 其他 An Introduction to Database System An Introduction to Database System An Introduction to Database System An Introduction to Database System 四、关系模式的简化表示 关系模式R(U, D, DOM, F) 简化为一个三元组: R(U, F) 当且仅当U上的一个关系r满足F时,r称为关系模式 R(U, F)的一个关系 关系模式R对应的当前值r是元
剩余59页未读,继续阅读
- 粉丝: 84
- 资源: 9357
- 我的内容管理 展开
- 我的资源 快来上传第一个资源
- 我的收益 登录查看自己的收益
- 我的积分 登录查看自己的积分
- 我的C币 登录后查看C币余额
- 我的收藏
- 我的下载
- 下载帮助