V2EX  ›  英汉词典

Full Join

定义 Definition

Full join(全连接/全外连接)是 SQL 中的一种连接方式:返回两张表中所有匹配与不匹配的行。能匹配的行会合并成一行;无法匹配的一侧会以 NULL 填充另一侧的列。(有些数据库也称 FULL OUTER JOIN。)

发音 Pronunciation (IPA)

/fʊl dʒɔɪn/

例句 Examples

A full join returns all rows from both tables.
全连接会返回两张表中的所有行。

We used a full join to combine the customer list and the order list, so customers without orders and orders without customers both appeared, with missing values shown as NULL.
我们用全连接把客户名单和订单名单合并起来,因此“没有订单的客户”和“找不到对应客户的订单”都会出现,缺失的值会以 NULL 显示。

词源 Etymology

full 来自古英语 full,意为“完整的、全部的”;join 来自古法语 joindre(源自拉丁语 iungere),意为“连接、结合”。在数据库语境中,full join 指“把两边全部数据都连接并保留”的连接方式。

相关词 Related Words

文献与作品 Literary Works

  • SQL in a Nutshell(O’Reilly)
  • Learning SQL(Alan Beaulieu)
  • SQL Cookbook(Anthony Molinaro)
  • Database System Concepts(Silberschatz, Korth, Sudarshan)
关于   ·   帮助文档   ·   自助推广系统   ·   博客   ·   API   ·   FAQ   ·   Solana   ·   1699 人在线   最高记录 6679   ·     Select Language
创意工作者们的社区
World is powered by solitude
VERSION: 3.9.8.5 · 10ms · UTC 06:56 · PVG 14:56 · LAX 22:56 · JFK 01:56
♥ Do have faith in what you're doing.