2020-04-08 14:22:25 +00:00
|
|
|
---
|
2022-04-10 23:08:18 +00:00
|
|
|
sidebar_label: SQL 语句
|
|
|
|
sidebar_position: 31
|
2020-04-08 14:22:25 +00:00
|
|
|
---
|
|
|
|
|
2022-01-18 03:06:41 +00:00
|
|
|
# ClickHouse SQL 语句 {#clickhouse-sql-statements}
|
2020-04-08 14:22:25 +00:00
|
|
|
|
2022-01-18 03:06:41 +00:00
|
|
|
语句表示可以使用 SQL 查询执行的各种操作。每种类型的语句都有自己的语法和用法详细信息,这些语法和用法详细信息单独描述如下所示:
|
|
|
|
|
|
|
|
- [SELECT](../../sql-reference/statements/select/index.md)
|
|
|
|
- [INSERT INTO](../../sql-reference/statements/insert-into.md)
|
|
|
|
- [CREATE](../../sql-reference/statements/create/index.md)
|
|
|
|
- [ALTER](../../sql-reference/statements/alter/index.md)
|
|
|
|
- [SYSTEM](../../sql-reference/statements/system.md)
|
|
|
|
- [SHOW](../../sql-reference/statements/show.md)
|
|
|
|
- [GRANT](../../sql-reference/statements/grant.md)
|
|
|
|
- [REVOKE](../../sql-reference/statements/revoke.md)
|
|
|
|
- [ATTACH](../../sql-reference/statements/attach.md)
|
|
|
|
- [CHECK TABLE](../../sql-reference/statements/check-table.md)
|
|
|
|
- [DESCRIBE TABLE](../../sql-reference/statements/describe-table.md)
|
|
|
|
- [DETACH](../../sql-reference/statements/detach.md)
|
2022-04-11 15:55:54 +00:00
|
|
|
- [DROP](../../sql-reference/statements/drop)
|
2022-01-18 03:06:41 +00:00
|
|
|
- [EXISTS](../../sql-reference/statements/exists.md)
|
|
|
|
- [KILL](../../sql-reference/statements/kill.md)
|
|
|
|
- [OPTIMIZE](../../sql-reference/statements/optimize.md)
|
|
|
|
- [RENAME](../../sql-reference/statements/rename.md)
|
|
|
|
- [SET](../../sql-reference/statements/set.md)
|
|
|
|
- [SET ROLE](../../sql-reference/statements/set-role.md)
|
|
|
|
- [TRUNCATE](../../sql-reference/statements/truncate.md)
|
|
|
|
- [USE](../../sql-reference/statements/use.md)
|
|
|
|
- [EXPLAIN](../../sql-reference/statements/explain.md)
|