Skip to content

release 6.1: update table format for docs PDF display #16486

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 2 commits into
base: release-6.1
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
53 changes: 35 additions & 18 deletions basic-features.md
Original file line number Diff line number Diff line change
Expand Up @@ -47,24 +47,41 @@ summary: 了解 TiDB 的基本功能。

## SQL 语句

| SQL 语句 [^2] | 6.1 | 6.0 | 5.4 | 5.3 | 5.2 | 5.1 | 5.0 | 4.0 |
| --------------------------------------------------------------------------- | :------: | :------: | :------: | :------: | :------: | :------: | :------: | :------: |
| `SELECT`,`INSERT`,`UPDATE`,`DELETE`,`REPLACE` | Y | Y | Y | Y | Y | Y | Y | Y |
| `INSERT ON DUPLICATE KEY UPDATE` | Y | Y | Y | Y | Y | Y | Y | Y |
| `LOAD DATA INFILE` | Y | Y | Y | Y | Y | Y | Y | Y |
| `SELECT INTO OUTFILE` | Y | Y | Y | Y | Y | Y | Y | Y |
| `INNER JOIN`, <code>LEFT\|RIGHT [OUTER] JOIN</code> | Y | Y | Y | Y | Y | Y | Y | Y |
| `UNION`,`UNION ALL` | Y | Y | Y | Y | Y | Y | Y | Y |
| [`EXCEPT` 和 `INTERSECT` 运算符](/functions-and-operators/set-operators.md) | Y | Y | Y | Y | Y | Y | Y | N |
| `GROUP BY`,`ORDER BY` | Y | Y | Y | Y | Y | Y | Y | Y |
| [窗口函数](/functions-and-operators/window-functions.md) | Y | Y | Y | Y | Y | Y | Y | Y |
| [公共表表达式 (CTE)](/sql-statements/sql-statement-with.md) | Y | Y | Y | Y | Y | Y | N | N |
| `START TRANSACTION`,`COMMIT`,`ROLLBACK` | Y | Y | Y | Y | Y | Y | Y | Y |
| [`EXPLAIN`](/sql-statements/sql-statement-explain.md) | Y | Y | Y | Y | Y | Y | Y | Y |
| [`EXPLAIN ANALYZE`](/sql-statements/sql-statement-explain-analyze.md) | Y | Y | Y | Y | Y | Y | Y | Y |
| [用户自定义变量](/user-defined-variables.md) | 实验特性 | 实验特性 | 实验特性 | 实验特性 | 实验特性 | 实验特性 | 实验特性 | 实验特性 |
| [`BATCH [ON COLUMN] LIMIT INTEGER DELETE`](/sql-statements/sql-statement-batch.md) | Y | N | N | N | N | N | N | N |
| [表级锁 (Table Lock)](/sql-statements/sql-statement-lock-tables-and-unlock-tables.md) | 实验特性 | 实验特性 | 实验特性 | 实验特性 | 实验特性 | 实验特性 | 实验特性 | 实验特性 |
+---------------------------------------------------------------------------------------+----------+----------+----------+----------+----------+----------+----------+----------+
| SQL 语句 [^2] | 6.1 | 6.0 | 5.4 | 5.3 | 5.2 | 5.1 | 5.0 | 4.0 |
+=======================================================================================+:========:+:========:+:========:+:========:+:========:+:========:+:========:+:========:+
| `SELECT`,`INSERT`,`UPDATE`,`DELETE`,`REPLACE` | Y | Y | Y | Y | Y | Y | Y | Y |
+---------------------------------------------------------------------------------------+----------+----------+----------+----------+----------+----------+----------+----------+
| `INSERT ON DUPLICATE KEY UPDATE` | Y | Y | Y | Y | Y | Y | Y | Y |
+---------------------------------------------------------------------------------------+----------+----------+----------+----------+----------+----------+----------+----------+
| `LOAD DATA INFILE` | Y | Y | Y | Y | Y | Y | Y | Y |
+---------------------------------------------------------------------------------------+----------+----------+----------+----------+----------+----------+----------+----------+
| `SELECT INTO OUTFILE` | Y | Y | Y | Y | Y | Y | Y | Y |
+---------------------------------------------------------------------------------------+----------+----------+----------+----------+----------+----------+----------+----------+
| `INNER JOIN`, `LEFT|RIGHT [OUTER] JOIN` | Y | Y | Y | Y | Y | Y | Y | Y |
+---------------------------------------------------------------------------------------+----------+----------+----------+----------+----------+----------+----------+----------+
| `UNION`,`UNION ALL` | Y | Y | Y | Y | Y | Y | Y | Y |
+---------------------------------------------------------------------------------------+----------+----------+----------+----------+----------+----------+----------+----------+
| [`EXCEPT` 和 `INTERSECT` 运算符](/functions-and-operators/set-operators.md) | Y | Y | Y | Y | Y | Y | Y | N |
+---------------------------------------------------------------------------------------+----------+----------+----------+----------+----------+----------+----------+----------+
| `GROUP BY`,`ORDER BY` | Y | Y | Y | Y | Y | Y | Y | Y |
+---------------------------------------------------------------------------------------+----------+----------+----------+----------+----------+----------+----------+----------+
| [窗口函数](/functions-and-operators/window-functions.md) | Y | Y | Y | Y | Y | Y | Y | Y |
+---------------------------------------------------------------------------------------+----------+----------+----------+----------+----------+----------+----------+----------+
| [公共表表达式 (CTE)](/sql-statements/sql-statement-with.md) | Y | Y | Y | Y | Y | Y | N | N |
+---------------------------------------------------------------------------------------+----------+----------+----------+----------+----------+----------+----------+----------+
| `START TRANSACTION`,`COMMIT`,`ROLLBACK` | Y | Y | Y | Y | Y | Y | Y | Y |
+---------------------------------------------------------------------------------------+----------+----------+----------+----------+----------+----------+----------+----------+
| [`EXPLAIN`](/sql-statements/sql-statement-explain.md) | Y | Y | Y | Y | Y | Y | Y | Y |
+---------------------------------------------------------------------------------------+----------+----------+----------+----------+----------+----------+----------+----------+
| [`EXPLAIN ANALYZE`](/sql-statements/sql-statement-explain-analyze.md) | Y | Y | Y | Y | Y | Y | Y | Y |
+---------------------------------------------------------------------------------------+----------+----------+----------+----------+----------+----------+----------+----------+
| [用户自定义变量](/user-defined-variables.md) | 实验特性 | 实验特性 | 实验特性 | 实验特性 | 实验特性 | 实验特性 | 实验特性 | 实验特性 |
+---------------------------------------------------------------------------------------+----------+----------+----------+----------+----------+----------+----------+----------+
| [`BATCH [ON COLUMN] LIMIT INTEGER DELETE`](/sql-statements/sql-statement-batch.md) | Y | N | N | N | N | N | N | N |
+---------------------------------------------------------------------------------------+----------+----------+----------+----------+----------+----------+----------+----------+
| [表级锁 (Table Lock)](/sql-statements/sql-statement-lock-tables-and-unlock-tables.md) | 实验特性 | 实验特性 | 实验特性 | 实验特性 | 实验特性 | 实验特性 | 实验特性 | 实验特性 |
+---------------------------------------------------------------------------------------+----------+----------+----------+----------+----------+----------+----------+----------+

## 高级 SQL 功能

Expand Down
Loading