当前位置:网站首页>[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 .
边栏推荐
- Two common OEE monitoring methods for equipment utilization
- PHP uses getid3 to obtain the duration of MP3, MP4, WAV and other media files
- Skywalking implements cross thread trace delivery
- Standing at the center of the storm: how to change the engine of Tencent
- 陆奇首次出手投资量子计算
- Self cultivation and learning encouragement
- Break the memory wall with CPU scheme? Learn from PayPal stack to expand capacity, and the volume of missed fraud transactions can be reduced to 1/30
- 中国天眼发现地外文明可疑信号,马斯克称星舰7月开始轨道试飞,网信办:APP不得强制要求用户同意处理个人信息,今日更多大新闻在此...
- OpenSUSE environment variable settings
- Teach you how to install win11 system in winpe
猜你喜欢

The sign in function completes 03 "IVX low code sign in system production"

騰訊開源項目「應龍」成Apache頂級項目:前身長期服務微信支付,能hold住百萬億級數據流處理...

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

俄罗斯AIRI研究院等 | SEMA:利用深度迁移学习进行抗原B细胞构象表征预测

Time management understood after working at home | community essay solicitation

马斯克被诉传销索赔2580亿美元,台积电公布2nm制程,中科院发现月壤中含有羟基形式的水,今日更多大新闻在此...

Disassembly of Weima prospectus: the electric competition has ended and the intelligent qualifying has just begun

Void* pointer

Redis related-02

Why can banana be a random number generator? Because it is the "king of radiation" in the fruit industry
随机推荐
Svn deployment
About sizeof() and strlen in array
【Rust投稿】从零实现消息中间件(6)-CLIENT
Jilin University 22 spring March new development English comprehensive course (I) assignment assessment-00080
Work assessment of pharmaceutical polymer materials of Jilin University in March of the 22nd spring -00025
老叶的祝福
教你如何在winpe里安装win11系统
Collaboration + Security + storage, cloud box helps Shenzhen edetai restructure its data center
Lu Qi invests in quantum computing for the first time
马斯克被诉传销索赔2580亿美元,台积电公布2nm制程,中科院发现月壤中含有羟基形式的水,今日更多大新闻在此...
Self cultivation and learning encouragement
Jilin University 22 spring March document retrieval assignment assessment-00073
opencv怎么安装?opencv下载安装教程
Redis related-02
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
The sign in function completes 03 "IVX low code sign in system production"
Tutorial on installing SSL certificates in Microsoft Exchange Server 2007
Do you really need automated testing?
BGP biplane architecture
Comprehensive operation of financial risk management X of Dongcai