- 3
- 0
- 约 50页
- 2017-02-08 发布于重庆
- 举报
DB2学习总结文档
`1. A database management system provides a set of integrated data management services or tools which are used to maintain and manage logical groupings of data or information.In this branch of mathematics, a table is called a relation.
2. Codds original theory was based on 12 principles.
(1)The first is that all data in an RDBMS is stored in tables.
(2)Another principle is that you need a language to retrieve or manipulate data in these tables. This language is known as SQL and is part of the relational theory.
3. A table consists of columns and rows. Columns are the attributes of the entity. They are the same for every particular instance of the entity. Every particular instance of the entity is a row. Rows are not usually stored in any particular order.
There is only one value at every row and column position in a table. This means that all data values are atomic.
4. There must be some way to identify uniquely just one instance or row of a table in order to manipulate the data in it. The unique key will allow you to do just that.
5. There are two terms you may hear to describe SQL. The first is non-navigational. This means that you only need to tell DB2, through SQL, what data you want. You do not need to specify how DB2 is to get that data. By using the optimizer, DB2 determines the best access path. For example, it decides whether to use an index to retrieve data.SQL is also a non-procedural language. A procedural language is a programming language such as C or COBOL. SQL is not a programming language. It does not do looping or go through extensive if-then-else steps one record at a time. SQL handles a set of records in a table and can be embedded into a programming language to take advantage of the capacity of the language to carry out procedural logic on that data.
6. Data Manipulation Language (DML) allows you to retrieve and manipulate data. SELECT is your basic read statement. Both SELECT and UPDATE work at the column level. INSERT and D
您可能关注的文档
- app接口文档模板.doc
- APP推广策划案.doc
- aps材料科学基础.doc
- AQ6201-2006煤矿安全监控系统通用技术要求.doc
- ARCGIS复习题.doc
- arcgis操作实例1图解数据统计图制作.doc
- ARCGIS校园图矢量处理报告书.doc
- ArcGIS缓存切片学习报告.doc
- arm9s440处理器的定时器原理.doc
- ASTER数据简介.doc
- 小区绿化施工协议书.docx
- 墙面施工协议书.docx
- 1 古诗二首(课件)--2025-2026学年统编版语文二年级下册.pptx
- (2026春新版)部编版八年级道德与法治下册《3.1《公民基本权利》PPT课件.pptx
- (2026春新版)部编版八年级道德与法治下册《4.3《依法履行义务》PPT课件.pptx
- (2026春新版)部编版八年级道德与法治下册《6.2《按劳分配为主体、多种分配方式并存》PPT课件.pptx
- (2026春新版)部编版八年级道德与法治下册《6.1《公有制为主体、多种所有制经济共同发展》PPT课件.pptx
- 初三教学管理交流发言稿.docx
- 小学生课外阅读总结.docx
- 餐饮门店夜经济运营的社会责任报告(夜间贡献)撰写流程试题库及答案.doc
原创力文档

文档评论(0)