Join
Data of the key fields of the main and joined data sets is compared with each other. The comparison result is used by the join algorithm to generate the resulting data set. Join of the data sets that are connected by the key fields — analogue of the JOIN operation in SQL.
Options of data sets join:
With the exception of the Difference method, each of the enumerated join methods is an analogue of the particular join type in SQL.
Input
- Main table: the table to which data sets from the joined table are appended (in the context of the SQL terms, it accepts the left table data for join).
- Joined table: the table data sets of which are appended to the main table (in the context of the SQL terms, it accepts the right table data for join).
Output
- Output data set: join result. As a rule, it contains the fields of the main and joined data sets.
Wizard
- Operation type enables to select the join method.
- Area of fields mapping: configuration of the connection fields of the main and joined data sets.
Operation type (join method) can be selected from the drop-down list, or it can be set using the control variable of the integer type (refer to data types):
- 0 - Inner join.
- 1 - Left join.
- 2 - Right join.
- 3 - Full join.
- 4 - Difference.
The fields are linked using the Drag-and-Drop method. The key fields mapped by this method are linked by the connection lines. The link between the fields can be deleted or set to another field.
Linking is allowed only for the fields with the similar data types.
- Add joined key fields: selection of this checkbox enables to keep the key fields from the joined table in the output data set.
Important: Only the key fields of the main table can be included into the resulting data set for any join (
JOIN
).
See also:
Articles in Section: