Skip to main content

Join tables

Combine two tables on matching key columns; inner keeps matches only, left keeps every row of the first table.

Command in the Data Table toolkit · id ooa.datatable/join · 5 inputs (3 required), 2 outputs

Inputs​

InputTypeRequiredDefaultWhat it is
TableTableYesFirst (left) table.
OtherTableYesSecond (right) table.
Key columnsListYesColumns present in both tables that must match.
Join typeStringNoinnerinner keeps matches only; left keeps every row of the first table, right every row of the second, full every row of both.
Other key columnsListNoKey columns of the second table when their names differ, in the same order as key_columns.

Outputs​

OutputTypeWhat it is
tableTableJoined table: first table columns, then the second table's other columns.
countNumberRows in the result.