- 0
- 0
- 约1.5万字
- 约 49页
- 2017-09-05 发布于浙江
- 举报
数据库原理第一章讲义
Lecture 2
The Relational Model of Data
数据的关系模型
2
3
Outline
• 2.1 An Overview of Data Models
• 2.2 Basics of the Relational Model
• 2.3 Defining a Relational Schema in SQL
4
Outline
• 2.1 An Overview of Data Models
• 2.2 Basics of the Relational Model
• 2.3 Defining a Relational Schema in SQL
5
What is a Data Model?
• A data model
– A notation for describing data or information
• Consists of three parts
– Structure of the data 结构
– Operations on the data 操作
– Constraints on the data 约束
6
Structure of the Data
• Data structure in programming languages
– Arrays, structures, objects (C or Java)
– Physical data model
• In the database world
– At higher level than data structures
– Conceptual data model
7
Operations on the Data
• In programming languages
– Anything that can be programmed
• In the database data model
– A limited set of operations
• Queries
• Modifications
– Limitation is not a weakness, but a strength
8
Constraints on the Data
• Describing limitations on what the data can be
– Simple
• A day of the week is an integer between 1 and 7
• A movie has at most one title
– Complex
• Assertions
• Triggers
您可能关注的文档
最近下载
- JT-T-617.2-2018危险货物道路运输规则第2部分:分类.docx VIP
- 天津市静海区第一中学2025-2026学年高一上学期12月月考语文试题(含答案).pdf
- 双壁波纹管施工方案.docx VIP
- 鱼松的加工工艺.pdf VIP
- CECS 117-2017 给水排水工程混凝土构筑物变形缝技术规范.docx VIP
- LJ8Q使用说明书客户版发力聚锅炉.pdf VIP
- 小学一年级汉语拼音PPT全套教学课件.pptx VIP
- 三菱电梯MAXIEZ-CZ系列电梯 图样图册7001-2023.pdf
- 2025房产直播实践白皮书-巨量引擎-202508.docx
- 2025最新初一英语课外阅读精选50篇.docx VIP
原创力文档

文档评论(0)