Join

The join prefix joins the loaded table with an existing named table or the last previously created data table.

Syntax:  

[inner | outer | left | right ]Join [ (tablename ) ]( loadstatement | selectstatement )

 

The join is a natural join made over all the common fields. The join statement may be preceded by one of the prefixes inner, outer, left or right.

Arguments:  

Argument Description
tablename The named table to be compared to the loaded table.
loadstatement or selectstatement The LOAD or SELECT statement for the loaded table.

Example:  

Join LOAD * from abc.csv;

 

Join SELECT * from table1;

 

tab1:

LOAD * from file1.csv;

tab2:

LOAD * from file2.csv;

.. .. ..

join (tab1) LOAD * from file3.csv;

Did this information help you?

Thanks for letting us know. Is there anything you'd like to tell us about this topic?

Can you tell us why it did not help you and how we can improve it?