学习思考
关系代数
00 分钟
2023-2-13
2023-8-1
type
status
date
slug
summary
tags
category
icon
password
link
Property
Aug 1, 2023 12:30 PM
 
notion image
notion image
 

并运算

notion image

交运算

notion image

笛卡尔积

notion image

选择运算

选择运算是从指定的关系中选出满足给定条件(用逻辑表达式表达) 的元组而组成一个新的关系。
notion image
notion image

投影

从R中选择出若干属性列组成新的关系
notion image
notion image
notion image

连接

notion image

等值连接*

notion image
notion image
 

自然连接*

notion image
notion image
notion image
 

外连接

notion image
notion image
左外连接
如果只把左边关系R中要舍弃的元组保留就叫做左外连接
notion image
 
右外连接
如果只把右边关系S中要舍弃的元组保留就叫做右外连接
notion image

设关系R、S分别为下图的(a)和(b),R÷S的结果为图(c)
notion image
notion image
 

评论
  • Twikoo
  • Waline