JOIN.INNER, JOIN.LEFT, JOIN.RIGHT and JOIN.FULL
Join two neutral tables to a joined table result. The three join commands can join at a specified column from each table. The result will be all the columns from the left site and new columns from the right site (columns defined in both tables will be taken from the left site). JOIN.RIGHT is introduced in 2023-R2.
Properties
From | Name of the left Input Data Source.The source must contain the neutral Table-format. |
To | Name of the right Input Data Source and the result. The input will be overwritten be the result. |
Parameters
@LeftKeyColumn | Specifies the column name of the key in the left table. The parameter is optional and if not specified, the first column well be used as the key. |
@RightKeyColumn | Specifies the column name of the key in the right table. The parameter is optional and if not specified, the first column well be used as the key. |
Map
This Command does not use any value mappings.
Guide
Simple joins from to tables. Remarks: the column "Text" exists I both tables and only data from the Left Table will be taken from the "Text" column. The _Value has duplicates for respectively 4 and 2 in the two tables and this will generate two rows in the results. To avoid this, use the SELECT.UNIQUE command to remove duplicates rows.
Left Table | Â | Â Right Table | Â | |||
_Value | Text | Â | _Value | Text | Color | Â |
1 | Txt1 | Â | 1 | Txta | Blue | Â |
2 | Txt2 | Â | 2 | Txtb | Gray | Â |
3 | Txt3 | Â | 2 | Txtc | Green | Â |
4 | Txt4 | Â | 4 | Txtd | Red | Â |
4 | Txt5 | Â | 5 | Txte | Yellow | Â |
Â
Inner join result | Â | Left join result | Â | Â Â Full join result | ||||||
_Value | Text | Color | Â | _Value | Text | Color | Â | _Value | Text | Color |
1 | Txt1 | Blue | Â | 3 | Txt3 | Â | Â | 3 | Txt3 | Â |
2 | Txt2 | Gray | Â | 1 | Txt1 | Blue | Â | 1 | Txt1 | Blue |
2 | Txt2 | Green | Â | 2 | Txt2 | Gray | Â | 2 | Txt2 | Gray |
4 | Txt4 | Red | Â | 2 | Txt2 | Green | Â | 2 | Txt2 | Green |
4 | Txt5 | Red | Â | 4 | Txt4 | Red | Â | 4 | Txt4 | Red |
 |  |  |  | 4 | Txt5 | Red |  | 4 | Txt5 | Red |
 |  |  |  |  |  |  |  | 5 |  | Yellow |
Â
- 1 Properties
- 2 Parameters
- 3 Map
- 4 Guide