当前位置:网站首页>Soft test --- database (3) data operation
Soft test --- database (3) data operation
2022-07-28 21:53:00 【Caterpillars who want to write programs】
Data manipulation
1.1 Common relational operations
Inquire about :
choice 、 Projection 、 Connect 、 except 、 and 、 hand over 、 Bad
Data update :
- Insert
- Delete
- modify
The expression ability of query is the most important part
- The traditional set operation is binomial operation , Include and 、 hand over 、 Bad 、 The generalized Cartesian product ;
- Specialized relational operations include : choice 、 Projection 、 Connect 、 except 4 Operations ;

1.1.1 Set operation noun interpretation
and :
R and S Is not owned by R And belong to S A collection of tuples , Write it down as R ∪ S ;
Bad :
R and S The difference is that it will only belong to R A collection of tuples , Write it down as R - S ;
hand over :
R and S The intersection of belongs to R and S A collection of tuples , Write it down as R ∩ S ;
1.2 Relationship between operation
Relational databases also have some special operations , Mainly projection 、 choice 、 Division and outer connection ;
In Relational Algebra , The formula which is composed by five basic algebraic operations through finite times is called relational algebraic operation expression , The operation result of the expression is still a relational expression ;
1.2.1 Projection
Projection is to map some attributes or selected columns in a relationship , And remove the tuples with duplicate attributes ;
1.2.2 choice
The selection operation is to select all tuples that meet the given conditions in the relationship ;
1.2.3 Connect
Connection is to obtain tuples satisfying certain conditions from the Cartesian product of two relations ;
1.2.4 division
Set up a relationship R Divide by relation S The result is relationship T , be T Include all in R But not here. S Properties and their values in , And T The tuple of and S All combinations of tuples of are in R in ;
边栏推荐
- Zhuzhou Jiufang middle school carried out drowning prevention and fire safety education and training activities
- Is it necessary to calibrate the fluke dtx-1800 test accuracy?
- LeetCode·581.最短无序连续子数组·双指针
- 基于属性词补全的武器装备属性抽取研究
- Leetcode linked list question - interview question 02.07. linked list intersection (learn linked list by one question and one article)
- What technology is needed for applet development
- 基于知识元的外文专利文献知识描述框架
- 关于一些小需求,用案例方式记录
- 纳米金偶联抗体/蛋白试剂盒(20nm,1mg/100μg/500 μg偶联量)的制备
- Meta opens the project aria pilot dataset and will develop real-time 3D maps in the future
猜你喜欢

凡尔赛天花板:“毕业两年月薪才35K,真是没出息啊~~”

What technology is needed for applet development

株洲市九方中学开展防溺水、消防安全教育培训活动

fluke dtx-1800测试精度有必要进行原厂校准吗?

LeetCode·581.最短无序连续子数组·双指针

Wechat applet development company, do you know how to choose?
![Leetcode interview question 02.07. Linked list intersection [knowledge points: Double pointers, stack]](/img/51/ec623bb609f5f57150e7244cf5f9b7.png)
Leetcode interview question 02.07. Linked list intersection [knowledge points: Double pointers, stack]

An end-to-end aspect level emotion analysis method for government app reviews based on brnn

High salary in the workplace | "intermediate and advanced test" interview questions

Uniapp progress bar customization
随机推荐
开放式耳机哪个音质好、公认音质好的气传导耳机推荐
Baidu search is in line with expectations, but it involves the black hat strategy of the external chain. What is the reason?
How Oracle exports data (how Oracle backs up databases)
中文招聘文档中专业技能词抽取的跨域迁移学习
Pytorch学习记录(三):随机梯度下降、神经网络与全连接
基于Xception-TD的中华传统刺绣分类模型构建
[英雄星球七月集训LeetCode解题日报] 第28日 动态规划
基于属性词补全的武器装备属性抽取研究
百度搜索为什么只抓取,却不展现页面?
[Bluetooth Bluetooth development] VIII. Transmission layer of ble protocol
The general strike of three factories in St France may make the shortage of chips more serious!
物联网技术栈之网关技术
Introduction to wechat applet development, develop your own applet
For the 1000 yuan 5g mobile phone market, MediaTek Tianji 700 released
1162. Map analysis - non recursive method
中国科学家首次用DNA构造卷积人工神经网络,可完成32类分子模式识别任务,或用于生物标志物信号分析和诊断
Layout the 6G track in advance! Ziguang zhanrui released the white paper "6G unbounded AI"
OA项目之会议通知(查询&是否参会&反馈详情)
What technology is needed for applet development
数据库读写分离目的是做什么[通俗易懂]