当前位置:网站首页>[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 .
边栏推荐
- 9 necessary soft skills for program ape career development
- 【Harmony OS】【ARK UI】ETS 上下文基本操作
- OpenSUSE installation pit log
- Tensorflow, danger! Google itself is the one who abandoned it
- How far is the memory computing integrated chip from popularization? Listen to what practitioners say | collision school x post friction intelligence
- PHP uses getid3 to obtain the duration of MP3, MP4, WAV and other media files
- Crawler grabs the data of Douban group
- Comprehensive assignment of thesis writing instruction of Dongcai
- (超详细onenet TCP协议接入)arduino+esp8266-01s接入物联网平台,上传实时采集数据/TCP透传(以及lua脚本如何获取和编写
- 2022-06-21-Flink-49(一. SQL手册)
猜你喜欢
Sun Wu plays Warcraft? There is a picture and a truth
西电AI专业排名超清北,南大蝉联全国第一 | 2022软科中国大学专业排名
[rust submission] review impl trail and dyn trail in rust
陆奇首次出手投资量子计算
Do you really need automated testing?
完美洗牌问题
About sizeof() and strlen in array
TensorFlow,危!抛弃者正是谷歌自己
【Harmony OS】【ArkUI】ets开发 图形与动画绘制
腾讯开源项目「应龙」成Apache顶级项目:前身长期服务微信支付,能hold住百万亿级数据流处理...
随机推荐
俄罗斯AIRI研究院等 | SEMA:利用深度迁移学习进行抗原B细胞构象表征预测
亚马逊在中国的另一面
BSC parsing input data of transaction
Work assessment of Biopharmaceutics of Jilin University in March of the 22nd spring -00031
老叶的祝福
Randla net: efficient semantic segmentation of large scale point clouds
Crawler grabs the idea of reading on wechat
Tencent's open source project "Yinglong" has become a top-level project of Apache: the former long-term service wechat payment can hold a million billion level of data stream processing
Crawl Sina Weibo fans
Tensorflow, danger! Google itself is the one who abandoned it
Work assessment of pharmaceutical polymer materials of Jilin University in March of the 22nd spring -00025
OpenSUSE environment PHP connection Oracle
js工具函数,自己封装一个节流函数
TC object structure and abbreviation
Is it safe to open an account with flush securities?
孙武玩《魔兽》?有图有真相
Oracle-sqlload import external data details
Sleep more, you can lose weight. According to the latest research from the University of Chicago, sleeping more than 1 hour a day is equivalent to eating less than one fried chicken leg
How to raise key issues in the big talk club?
The more AI evolves, the more it resembles the human brain! Meta found the "prefrontal cortex" of the machine. AI scholars and neuroscientists were surprised