ClickHouse/docs/en/sql-reference/table-functions/index.md

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

26 lines
848 B
Markdown
Raw Normal View History

2020-04-03 13:23:32 +00:00
---
2022-08-28 14:53:34 +00:00
slug: /en/sql-reference/table-functions/
sidebar_label: Table Functions
sidebar_position: 34
2020-04-03 13:23:32 +00:00
---
# Table Functions
2020-04-03 13:23:32 +00:00
Table functions are methods for constructing tables.
You can use table functions in:
2023-04-19 16:10:51 +00:00
- [FROM](../../sql-reference/statements/select/from.md) clause of the `SELECT` query.
2020-04-03 13:23:32 +00:00
2022-08-11 00:09:43 +00:00
The method for creating a temporary table that is available only in the current query. The table is deleted when the query finishes.
2020-04-03 13:23:32 +00:00
- [CREATE TABLE AS table_function()](../../sql-reference/statements/create/table.md) query.
2020-04-03 13:23:32 +00:00
2022-08-11 00:09:43 +00:00
It's one of the methods of creating a table.
2020-04-03 13:23:32 +00:00
- [INSERT INTO TABLE FUNCTION](../../sql-reference/statements/insert-into.md#inserting-into-table-function) query.
2021-11-22 19:17:00 +00:00
2023-03-27 18:54:05 +00:00
:::note
You cant use table functions if the [allow_ddl](../../operations/settings/permissions-for-queries.md#settings_allow_ddl) setting is disabled.
:::