--- sidebar_label: SQL 语句 sidebar_position: 31 --- # ClickHouse SQL 语句 {#clickhouse-sql-statements} 语句表示可以使用 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) - [DROP](../../sql-reference/statements/drop) - [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)