当前位置:网站首页>2021.7.12 internal and external connection of notes
2021.7.12 internal and external connection of notes
2022-07-27 18:32:00 【It's food, not shellfish】
Inside and outside connection
Link query


Cartesian product phenomenon and limiting conditions

Therefore, we need to add restrictions

You can also rename , Increase search efficiency (SQL92 grammar )( Even if it turns out to be 14 strip , Also need to find all play 56 strip )

SQL99 grammar ( The same result ):

SQL92 and SQL99 And equivalent connection


join There can be a inner But you can omit , But with inner Better readability , Indicates internal connection
ps: Equivalent connection means that the condition is an equal quantity relationship ( As in the case e.deptno = d.deptno)
Non equivalent connection
The condition is non equivalent ( there inner It can also be omitted )

Self join
Find the leader of each employee (mgr = empno)

King There is no leader, so the query result is 13 strip ( in total 14 strip )
External connection
stay join The front is left(right) To the left ( Right ) Connect

Three meter connection

边栏推荐
- 邮件安全运营难?Coremail携手云商店打造企业邮箱办公新生态!
- Software installation related
- 宣布收购文晔30%股份,大联大意欲何为?
- Marvell announced the roadmap of its arm server chip, and the performance of the next generation will be twice that of thunderx2
- [learning notes] solutions to hot account problems
- 2021.7.22笔记 约束
- Is it difficult to operate email safely? COREMAIL joins hands with cloud store to create a new ecosystem of corporate email office!
- [MIT 6.S081] Lab 7: Multithreading
- Deep learning: a survey of behavior recognition
- @Datetimeformat received less than minutes and seconds, conversion times type exception
猜你喜欢

深度学习-视频行为识别:论文阅读——双流网络(Two-stream convolutional networks for action recognition in videos)

Random talk on GIS data (V) - geographic coordinate system

1. OpenCV image basic operation

Installation and deployment of zabbix6.0

Deep learning: stgcn learning notes
![[MIT 6.S081] Lec 6: Isolation & system call entry/exit 笔记](/img/b3/89b3688a06aa39d894376d57acb2af.png)
[MIT 6.S081] Lec 6: Isolation & system call entry/exit 笔记

Let's move forward together, the 10th anniversary of Google play!
![[MIT 6.S081] Lec 9: Interrupts 笔记](/img/b6/a8d39aa7ede4eb1c5a74e6d15b3b1c.png)
[MIT 6.S081] Lec 9: Interrupts 笔记
![[MIT 6.S081] Lec 1: Introduction and examples 笔记](/img/5d/2fc4bde8eebbb22605d314b5292e05.png)
[MIT 6.S081] Lec 1: Introduction and examples 笔记
![[mit 6.s081] LEC 8: page faults notes](/img/e2/0f5332dd9d2b439bcf29e87a9fa27f.png)
[mit 6.s081] LEC 8: page faults notes
随机推荐
3. Opencv geometric transformation
Deep learning: a survey of behavior recognition
Let's move forward together, the 10th anniversary of Google play!
2021.7.22笔记 约束
[MIT 6.S081] Lab 3: page tables
[mit 6.s081] LEC 3: OS organization and system calls notes
国巨斥资18亿美元收购竞争对手Kemet,交易或在明年下半年完成
OEM "made in the United States", domestic security equipment has been installed on the U.S. aircraft carrier!
The end of another era!
深度学习:GCN图分类案例
[learning notes] Lombok's @builder annotation
技术分享| 快对讲综合调度系统
[MIT 6.S081] Lec 10: Multiprocessors and locking 笔记
File path read
[MIT 6.S081] Lec 8: Page faults 笔记
Lotcode dynamic array exercise (724118766)
rsa加解密(兼容微信小程序环境)
动态链表4单向循环链表(LoopSingle实现)
[MIT 6.S081] Lab8: locks
[MIT 6.S081] Lab 5: xv6 lazy page allocation