ClickHouse/docs/en/query_language/table_functions/index.md
BayoNet 2c3457dbfe
DOCAPI-7743: CREATE TABLE AS table_function() docs. (#6887)
* Typo fix.

* DOCAPI-7743: Update of docs around table functions.

* DOCAPI-7743: More changes

* DOCAPI-7743: more fixes.

* DOCAPI-7743: CREATE TABLE

* Update docs/en/query_language/table_functions/index.md

Co-Authored-By: Ivan Blinkov <github@blinkov.ru>

* DOCAPI-7743: Fixes.
2019-09-12 17:14:19 +03:00

1.6 KiB

Table Functions

Table function is a method of constructing a table.

You can use table functions in:

  • CREATE TABLE AS <table_function()> query.

    It's one of the methods of creating a table.

  • FROM clause of the SELECT query.

    The method of creating a temporary table, that is available only in current query. The table is deleted after the query finishes.

!!! warning "Warning" You can't use table functions if the allow_ddl setting is disabled.

Function Description
file Creates a File-engine table.
merge Creates a Merge-engine table.
numbers Creates a table with the single column filled with integer numbers.
remote Allows you to access remote servers without creating a Distributed-engine table.
url Creates a Url-engine table.
mysql Creates a MySQL-engine table.
jdbc Creates a JDBC-engine table.
odbc Creates a ODBC-engine table.
hdfs Creates a HDFS-engine table.

Original article