未验证 提交 7d291174 编写于 作者: W wade zhang 提交者: GitHub

Merge pull request #17831 from beyoung/patch-1

fix: typo  create_definitionn -> create_definition
...@@ -7,12 +7,12 @@ title: Table ...@@ -7,12 +7,12 @@ title: Table
You create standard tables and subtables with the `CREATE TABLE` statement. You create standard tables and subtables with the `CREATE TABLE` statement.
```sql ```sql
CREATE TABLE [IF NOT EXISTS] [db_name.]tb_name (create_definition [, create_definitionn] ...) [table_options] CREATE TABLE [IF NOT EXISTS] [db_name.]tb_name (create_definition [, create_definition] ...) [table_options]
CREATE TABLE create_subtable_clause CREATE TABLE create_subtable_clause
CREATE TABLE [IF NOT EXISTS] [db_name.]tb_name (create_definition [, create_definitionn] ...) CREATE TABLE [IF NOT EXISTS] [db_name.]tb_name (create_definition [, create_definition] ...)
[TAGS (create_definition [, create_definitionn] ...)] [TAGS (create_definition [, create_definition] ...)]
[table_options] [table_options]
create_subtable_clause: { create_subtable_clause: {
...@@ -195,4 +195,4 @@ This command is useful in migrating data from one TDengine cluster to another be ...@@ -195,4 +195,4 @@ This command is useful in migrating data from one TDengine cluster to another be
``` ```
DESCRIBE [db_name.]tb_name; DESCRIBE [db_name.]tb_name;
``` ```
\ No newline at end of file
...@@ -6,7 +6,7 @@ title: Supertable ...@@ -6,7 +6,7 @@ title: Supertable
## Create a Supertable ## Create a Supertable
```sql ```sql
CREATE STABLE [IF NOT EXISTS] stb_name (create_definition [, create_definitionn] ...) TAGS (create_definition [, create_definition] ...) [table_options] CREATE STABLE [IF NOT EXISTS] stb_name (create_definition [, create_definition] ...) TAGS (create_definition [, create_definition] ...) [table_options]
create_definition: create_definition:
col_name column_definition col_name column_definition
......
...@@ -9,12 +9,12 @@ description: 对表的各种管理操作 ...@@ -9,12 +9,12 @@ description: 对表的各种管理操作
`CREATE TABLE` 语句用于创建普通表和以超级表为模板创建子表。 `CREATE TABLE` 语句用于创建普通表和以超级表为模板创建子表。
```sql ```sql
CREATE TABLE [IF NOT EXISTS] [db_name.]tb_name (create_definition [, create_definitionn] ...) [table_options] CREATE TABLE [IF NOT EXISTS] [db_name.]tb_name (create_definition [, create_definition] ...) [table_options]
CREATE TABLE create_subtable_clause CREATE TABLE create_subtable_clause
CREATE TABLE [IF NOT EXISTS] [db_name.]tb_name (create_definition [, create_definitionn] ...) CREATE TABLE [IF NOT EXISTS] [db_name.]tb_name (create_definition [, create_definition] ...)
[TAGS (create_definition [, create_definitionn] ...)] [TAGS (create_definition [, create_definition] ...)]
[table_options] [table_options]
create_subtable_clause: { create_subtable_clause: {
......
...@@ -7,7 +7,7 @@ description: 对超级表的各种管理操作 ...@@ -7,7 +7,7 @@ description: 对超级表的各种管理操作
## 创建超级表 ## 创建超级表
```sql ```sql
CREATE STABLE [IF NOT EXISTS] stb_name (create_definition [, create_definitionn] ...) TAGS (create_definition [, create_definition] ...) [table_options] CREATE STABLE [IF NOT EXISTS] stb_name (create_definition [, create_definition] ...) TAGS (create_definition [, create_definition] ...) [table_options]
create_definition: create_definition:
col_name column_definition col_name column_definition
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册