当前位置:网站首页>【数据库】期末必知必会-----第二章 关系数据模型
【数据库】期末必知必会-----第二章 关系数据模型
2022-07-17 03:22:00 【小羊不会飞】
第二章 关系数据模型
1、关系数据结构的相关概念?
1)关系模型的数据结构就是二维表,把表称为关系
2)关系数据库是表的集合,或者说是关系的集合
3)表示一个实体集,每一行是一个实体,又因为每一行之间存在联系,即也称为关系模型
4)关系模型中,实体和实体之间的各种联系都是用关系(表)来表示
5)域:相同数据类型值的集合
6)笛卡尔积:举个简单的例子理解,D1={A,B} D2={a,b} D1和D2做笛卡尔积,得到{Aa,Ab,Ba,Bb}
7)关系的三种类型:基本表、查询表、试图
2、关系完整性?(包括什么,含义是什么)
1)实体完整性:某个属性为主码时,它的值不为null
2)参照完整性:某个属性为外码,其值要么为null,要么对应另外一张表的主码
3)用户自定义完整性:用户自定义的一些约束,比如说性别字段只能取男/女
3、关系代数中,传统的集合运算和专门的关系运算分别有哪些?
集合运算:∩、∪、-、×
关系运算:选择、投影、连接、÷
4、关系代数中,每个关系运算的含义是什么?要会基本的运算
(此处省略,可自行上网检索)
(以上知识点常常出现在选择、判断、填空中)
边栏推荐
- The biggest bug I've ever written in my career as a programmer! Netizen: high and low is a P8 level!
- Frrouting use
- Understanding of random forest
- 软件测试-用例篇
- Doris learning notes query
- Hcip day 8 notes
- Use of anti shake debounce and throttling throttle
- [paper notes] volo: vision outlooker for visual recognition
- 让程序员早点下班的《技术写作指南》
- AcWing:第60场周赛
猜你喜欢

XDC 2022 Intel 技术专场:英特尔软硬件技术构筑云计算架构基石

Get to know esp8266 (II) -- build a network server to realize remote control

Realize the dual opening of wechat on the computer (log in to two wechat)

The role of key in V-for

Sword finger offer 59 - ii Maximum value of queue

How session and cookies work

Explanation of Hoff transformation

micro、M3O微服务系列(三)

The adaptation of go language under windows10:vscode

Workload-Aware Performance Tuning for Autonomous DBMSs
随机推荐
Workload-Aware Performance Tuning for Autonomous DBMSs
Idea configures SFTP and SSH, which is very convenient to deploy and locate error logs
Tutorial: Adaptive Replication and Partitioning in Data Systems
HCIP第七天笔记
[untitled]
2022 Yangtze River Delta mathematical modeling: Gearbox Fault Diagnosis
Container adapter - stack, queue, priority queue
go环境安装
7.16 simulation summary
Bag of visual words (bovw) personal understanding of visual word bag
[MySQL] install and configure MySQL on the ECS and connect with idea
高性能与经济性兼备:傲腾 持久内存助力移动云应对严苛内存挑战
[Paper Abstract] screenshots of methods for recording abstracts of interest and papers in special fields.
Hcip seventh day notes
Branches and tools of Orthodontics
Typescript数组/对象/字符串/函数参数的解构使用
关于数据库的问题,唯一和非重复的概念
Masked treatment
HCIP实验5
H5 embedded app, how to communicate with the web? H5 and web communication