ClickHouse/docs/en/operations/table_engines/join.md
BayoNet 078a192388 Update of JOIN docs (#3684)
* Update of english version of descriprion of the table function `file`.

* New syntax for ReplacingMergeTree.
Some improvements in text.

* Significantly change article about SummingMergeTree.
Article is restructured, text is changed in many places of the document. New syntax for table creation is described.

* Descriptions of AggregateFunction and AggregatingMergeTree are updated. Russian version.

* New syntax for new syntax of CREATE TABLE

* Added english docs on Aggregating, Replacing and SummingMergeTree.

* CollapsingMergeTree docs. English version.

* 1. Update of CollapsingMergeTree. 2. Minor changes in markup

* Update aggregatefunction.md

* Update aggregatefunction.md

* Update aggregatefunction.md

* Update aggregatingmergetree.md

* GraphiteMergeTree docs update.
New syntax for creation of Replicated* tables.
Minor changes in *MergeTree tables creation syntax.

* Markup fix

* Markup and language fixes

* Clarification in the CollapsingMergeTree article

* DOCAPI-4821. Sync between ru and en versions of docs.

* Fixed the ambiguity in geo functions description.

* Example of JOIN in ru docs

* Deleted misinforming example.

* 1. Updated the JOIN clause description.
2. Added the new setting 'join_default_strictness' description.

* Minor fixes in docs.

* Deleted version of ClickHouse from setting. All info about new features are in changelog.
2018-11-30 16:04:14 +03:00

22 lines
894 B
Markdown
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

<a name="table-engine-join"></a>
# Join
A prepared data structure for JOIN that is always located in RAM.
```
Join(ANY|ALL, LEFT|INNER, k1[, k2, ...])
```
Engine parameters: `ANY|ALL` strictness; `LEFT|INNER` type.
These parameters are set without quotes and must match the JOIN that the table will be used for. k1, k2, ... are the key columns from the USING clause that the join will be made on.
The table can't be used for GLOBAL JOINs.
You can use INSERT to add data to the table, similar to the Set engine. For ANY, data for duplicated keys will be ignored. For ALL, it will be counted. You can't perform SELECT directly from the table. The only way to retrieve data is to use it as the "right-hand" table for JOIN.
Storing data on the disk is the same as for the Set engine.
[Original article](https://clickhouse.yandex/docs/en/operations/table_engines/join/) <!--hide-->