inner join,left outer join,right outer join,full outer join
时间: 2023-08-29 11:11:06 浏览: 106
inner join、 left join 、right join、 outer join之间的区别
inner join是一种等值连接,它只返回两个表中联结字段相等的行。left outer join是左外连接,它返回包括左表中的所有记录和右表中联结字段相等的记录。right outer join是右外连接,它返回包括右表中的所有记录和左表中联结字段相等的记录。full outer join是全外连接,它返回包括左表和右表中的所有记录,无论是否有匹配的记录。所以,这些连接类型主要区别在于它们返回的记录集合的不同。<span class="em">1</span><span class="em">2</span><span class="em">3</span>
#### 引用[.reference_title]
- *1* [inner join、outer join、right join、left join 之间的区别](https://blog.csdn.net/dingjianmin/article/details/92009385)[target="_blank" data-report-click={"spm":"1018.2226.3001.9630","extra":{"utm_source":"vip_chatgpt_common_search_pc_result","utm_medium":"distribute.pc_search_result.none-task-cask-2~all~insert_cask~default-1-null.142^v92^chatsearchT3_1"}}] [.reference_item style="max-width: 50%"]
- *2* *3* [oracle基础积累-join,left join,right join,inner join,full join,left outer join,right outer join 之间...](https://blog.csdn.net/zhangbeizhen18/article/details/101002029)[target="_blank" data-report-click={"spm":"1018.2226.3001.9630","extra":{"utm_source":"vip_chatgpt_common_search_pc_result","utm_medium":"distribute.pc_search_result.none-task-cask-2~all~insert_cask~default-1-null.142^v92^chatsearchT3_1"}}] [.reference_item style="max-width: 50%"]
[ .reference_list ]
阅读全文