Teiid SQL Join
SQL Joins
Teiid supports the following JOIN syntaxes in FROM clause specifies the target table(s) for SELECT, UPDATE, and DELETE statements:
table1
INNER JOINtable2
ONjoin-criteria
table1
LEFT OUTER JOINtable2
ONjoin-criteria
table1
RIGHT OUTER JOINtable2
ONjoin-criteria
table1
FULL OUTER JOINtable2
ONjoin-criteria
table1
CROSS JOINtable2
Sample join tables in source
There are 2 tables in source, T1 has a integer column a
, have 3 rows, 1, 2, 3 in table:
T2 has a integer column b
, have 2 rows, 2, 4 in table: