当前位置:网站首页>[team learning] SQL programming language notes - task04
[team learning] SQL programming language notes - task04
2022-06-25 03:56:00 【Game programming】

First look at the overall ,Task04 The main points of knowledge are the addition and subtraction of tables and links

1. The addition and subtraction of tables
1.1 What is set operation ? First of all 、 The execution results of both views and queries are A collection of records , Addition and subtraction are the same as operations .
The basic operation of sets : intersection 、 Combine 、 Difference set 、 Complement set 、 Symmetric difference set 、 Superset 、 A subset of .
1.2 【UNION】 Add / Combine
It should be noted that :UNION Such set operators usually remove Duplicate records , If you do not need to remove duplicate records, you only need to delete them in UNION Add later ALL Key words are enough
1.3 UNION And OR The predicate
I don't seem to understand it in the learning document , Just Baidu :https://zhidao.baidu.com/question/429077726.html Link sent , If there is any suggestion that you still don't understand, understand it by yourself , Summarize my understanding through the article :UNION The data will be sorted out and given to us ,OR Can't , Choose which data you want to use .
1.4 Implicit data type conversion
matters needing attention :hive In the middle of join When connected , Avoid implicit data type conversion for associated columns , Otherwise, it is easy to cause data skew
Attach a link :https://zhuanlan.zhihu.com/p/447472435 It is better to Baidu by yourself
1.5 【INTERSECT】 intersection
MySQL 8.0 Intersection operation is not supported INTERSECT, Need to use inner join To find the intersection
1.6 【EXCEPT】 intersection
MySQL 8.0 Subtraction is not supported EXCEPT operation , They can be borrowed from students NOT IN The predicate
1.7 Symmetry difference : The intersection of two sets can be regarded as the intersection of two sets, and the symmetry difference between the two sets is removed

2. Link
2.1 Inner link
2.2 External links
2.3 Multi table link
author : No ⃰ say ⃰ Again ⃰ see ⃰
Game programming , A game development favorite ~
If the picture is not displayed for a long time , Please use Chrome Kernel browser .
边栏推荐
- Svn deployment
- 程序员真人秀又来了!呼兰当主持挑灯狂补知识,SSS大佬本科竟是药学,清华朱军张敏等加入导师团...
- 【Harmony OS】【ARK UI】ETS 上下文基本操作
- MySQL根据表前缀批量修改、删除表
- JS tool function, self encapsulating a throttling function
- Work assessment of Biopharmaceutics of Jilin University in March of the 22nd spring -00005
- Tutorial on installing SSL certificates in Microsoft Exchange Server 2007
- 香蕉为什么能做随机数生成器?因为,它是水果界的“辐射之王”
- Wuenda, the new course of machine learning is coming again! Free auditing, Xiaobai friendly
- ICML 2022 | 字节跳动 AI Lab 提出多模态模型:X-VLM,学习视觉和语言的多粒度对齐...
猜你喜欢

MySQL modifies and deletes tables in batches according to the table prefix

【Harmony OS】【ARK UI】ETS 上下文基本操作

后台页制作01《ivx低代码签到系统制作》

现在,耳朵也要进入元宇宙了

Crawler grabs the idea of reading on wechat

Redis related-02

程序员真人秀又来了!呼兰当主持挑灯狂补知识,SSS大佬本科竟是药学,清华朱军张敏等加入导师团...

DevEco Studio 3.0编辑器配置技巧篇

如何使用IDE自动签名调试鸿蒙应用

腾讯开源项目「应龙」成Apache顶级项目:前身长期服务微信支付,能hold住百万亿级数据流处理...
随机推荐
ASP. Net conference room booking applet source code booking applet source code
9 necessary soft skills for program ape career development
On the self-cultivation of an excellent red team member
Jilin University 22 spring March "career design" assignment assessment-00072
Maintenant, les oreilles vont entrer dans le métacosme.
Svn deployment
Huawei failed to appeal and was prohibited from selling 5g equipment in Sweden; Apple regained the first place in the world in terms of market value; DeNO completes round a financing of USD 21million
Self cultivation and learning encouragement
Apple's legendary design team disbanded after jobs refused to obey cook
ICML 2022 | ByteDance AI Lab proposes a multimodal model: x-vlm, learning multi granularity alignment of vision and language
DevEco Studio 3.0编辑器配置技巧篇
The problem that only the home page can be accessed under openSUSE Apache laravel
2022-06-21-Flink-49(一. SQL手册)
About PLSQL error initialization failure
騰訊開源項目「應龍」成Apache頂級項目:前身長期服務微信支付,能hold住百萬億級數據流處理...
Standing at the center of the storm: how to change the engine of Tencent
Rebeco: using machine learning to predict stock crash risk
ASP.NET会议室预约小程序源码 预约小程序源码
现在,耳朵也要进入元宇宙了
How to play well in the PMP Exam?