当前位置:网站首页>Chapter II relational database after class exercises
Chapter II relational database after class exercises
2022-07-23 13:40:00 【kokotao】
1. Try to describe the three components of the relational model
The relational model consists of relational data structure 、 Set of relational operations 、 The integrity constraint of the relational model consists of three parts ;
2. Try to describe relational data ⾔ Characteristics and classification of .
Relational data languages can be divided into three categories :
1 Relational algebra language ;
2 The language of relational calculus ;
3 SQL: A language with the dual characteristics of relational algebra and relational calculus ;
The common characteristics are : Language has a complete ability of expression , It is the operation language of non procedural set , Powerful function ⼊⾼ Level language ⾔ Chinese envoy ⽤
3. Give an example to illustrate the difference between relationship mode and relationship .
Relationship is the state and content of a relationship pattern at a certain time ; The relational pattern can be said to be static 、 The stability of the ; Relationships are dynamic 、 Changing over time ; Relationship is the description of relationship pattern ;
4. Try to explain the integrity rules of relational patterns . In referential integrity , Under what circumstances can the value of foreign code attribute be Null value ?
If the attribute is not the primary attribute, it can be null , Otherwise, we can't .
5. Try to describe equivalent connection and ⾃ However, the difference and connection of connection .
The join operator is “=” The connection operation of is called equivalent connection . It's from the relationship R And S Of ⼴ Select from the Cartesian product A、B Those tuples with equal property values
Natural connection can be said to be a special equivalent connection , It is required that the components to be compared in the two relationships must be the same attribute group ; Also remove the duplicate attribute columns .
6. What are the basic operations of relational algebra ? how ⽤ These basic operations represent other operations ?
and 、 Bad 、 The cartesian product 、 Projection and selection 5 This operation is the basic operation . other 3 Operations , Hand in immediately 、 Connect and remove , All are OK ⽤ this 5 There are three basic operations to express .
Mind mapping :
边栏推荐
- Feynman learning method (redis summary)
- Typora modify table width
- Ros2 self study notes: URDF robot modeling
- 深入理解微信小程序的底层框架(一)
- Shooting lesson 1-01: Introduction
- MetaApp开发面试题目
- Notes on the seventh day
- General contents of radar introduction column
- Remote editing and debugging with vscode
- Successful joint commissioning of Vientiane Aoke and CoDeSys Technology
猜你喜欢

Jupyter notebook add existing virtual environment

【可视化调度软件】上海道宁为SMB组织带来NETRONIC下载、试用、教程

第二章关系数据库课后习题
![[daily training] 814. Binary tree pruning](/img/c1/d71e6190a1855a392689b55503f75e.png)
[daily training] 814. Binary tree pruning

ES6——周考题
![[graphics] ASTC texture compression format](/img/d1/734fe91d56716c610980696a8e0d06.png)
[graphics] ASTC texture compression format

C#做一个简单浏览器

第七天笔记

Qt Creator .pro文件根据kit添加对应库
![[JS advanced] basics of regular expressions - about regular expressions you want to know_ 01](/img/b8/7961a3c4375c93971ddd74b1a2473f.jpg)
[JS advanced] basics of regular expressions - about regular expressions you want to know_ 01
随机推荐
Google Play应用商店可能会删除应用权限概述 转而使用新的数据安全信息组合
[noi simulation race] I don't know which CF paper title it is (probability expectation, martingale's stop time theorem)
Beifu PLC and C transmit string type through ads communication
【深入浅出玩转FPGA学习10------简单的Testbench设计】
云解决方案,为什么选择 AMD EPYC?
Hardware system architecture of 4D millimeter wave radar
4D antenna array layout design
Ros2 self study notes: URDF robot modeling
【 Visual Dispatching Software】 Shanghai Dow Ning apporte netronic download, Trial, tutoriel pour l'Organisation SMB
Successful joint commissioning of Vientiane Aoke and CoDeSys Technology
Special lecture 5 combinatorial mathematics learning experience (long-term update)
【PART 2】OAK-D+TurtleBot3机器人项目全解析
C language insert sort (direct insert sort)
PHP connecting to SQL Server
第七天笔记
动态规划每日一练(1)
Smart canteen data analysis system
Beifu PLC -- C ads communication reads variables in the form of notification
Special topic of MIMO Radar (0) - General Chapter
2022-07-22 回顾链表操作以及部分问题