当前位置:网站首页>[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 .
边栏推荐
- 孙武玩《魔兽》?有图有真相
- Work assessment of Biopharmaceutics of Jilin University in March of the 22nd spring -00005
- 【Rust投稿】从零实现消息中间件(6)-CLIENT
- js工具函数,自己封装一个节流函数
- Musk: Twitter should learn from wechat and make 1billion people "live on it" into a super app
- 现在,耳朵也要进入元宇宙了
- The era of copilot free is over! The official version is 67 yuan / month, and the student party and the defenders of popular open source projects can prostitute for nothing
- ICML 2022 | 字节跳动 AI Lab 提出多模态模型:X-VLM,学习视觉和语言的多粒度对齐...
- 教你如何在winpe里安装win11系统
- 用CPU方案打破内存墙?学PayPal堆傲腾扩容量,漏查欺诈交易量可降至1/30
猜你喜欢

Mobile mall project operation

2022-06-21-Flink-49(一. SQL手册)

Crawler grabs the data of Douban group

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

ICML 2022 | ByteDance AI Lab proposes a multimodal model: x-vlm, learning multi granularity alignment of vision and language

9 necessary soft skills for program ape career development

Background page production 01 production of IVX low code sign in system

Russian Airi Research Institute, etc. | SEMA: prediction of antigen B cell conformation characterization using deep transfer learning

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

【Rust投稿】捋捋 Rust 中的 impl Trait 和 dyn Trait
随机推荐
华为上诉失败,被禁止在瑞典销售 5G 设备;苹果公司市值重获全球第一;Deno 完成 2100 万美元 A 轮融资|极客头条
【Harmony OS】【ARK UI】ETS 上下文基本操作
TensorFlow,危!抛弃者正是谷歌自己
Crawler crawls Sina Weibo data
用CPU方案打破内存墙?学PayPal堆傲腾扩容量,漏查欺诈交易量可降至1/30
Svn deployment
js工具函数,自己封装一个节流函数
The art of writing simple code
JS tool function, self encapsulating a throttling function
一文搞懂php中的(DI)依赖注入
Jilin University 22 spring March "official document writing" assignment assessment-00034
CVPR大会现场纪念孙剑博士,最佳学生论文授予同济阿里,李飞飞获黄煦涛纪念奖...
ASP.NET会议室预约小程序源码 预约小程序源码
Apple's legendary design team disbanded after jobs refused to obey cook
腾讯开源项目「应龙」成Apache顶级项目:前身长期服务微信支付,能hold住百万亿级数据流处理...
威马招股书拆解:电动竞争已结束,智能排位赛刚开始
Nacos practice record
(超详细onenet TCP协议接入)arduino+esp8266-01s接入物联网平台,上传实时采集数据/TCP透传(以及lua脚本如何获取和编写
Lu Qi invests in quantum computing for the first time
Maybe it's the wrong reason