sql中left join
时间: 2023-08-30 13:08:53 浏览: 89
SQL left join
在SQL中,left join是一种关联查询的方式,它返回左表中的所有记录以及右表中与左表记录匹配的记录。具体而言,left join会根据指定的条件将左表和右表中的记录进行匹配,如果某个左表的记录在右表中没有匹配的记录,那么该记录也会包含在结果集中,对应的右表字段则会用NULL值填充。<span class="em">1</span><span class="em">2</span><span class="em">3</span>
#### 引用[.reference_title]
- *1* *2* [sql基础知识left join,right join,inner join区别](https://blog.csdn.net/Melody_Susan/article/details/39998299)[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^v93^chatsearchT3_2"}}] [.reference_item style="max-width: 50%"]
- *3* [SQL中的left join](https://blog.csdn.net/Jacksun_huang/article/details/88666003)[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^v93^chatsearchT3_2"}}] [.reference_item style="max-width: 50%"]
[ .reference_list ]
阅读全文