Skip to content

Commit c3f144a

Browse files
hfxsdti-chi-bot
authored andcommitted
This is an automated cherry-pick of pingcap#21116
Signed-off-by: ti-chi-bot <ti-community-prow-bot@tidb.io>
1 parent a65e87c commit c3f144a

1 file changed

Lines changed: 5 additions & 1 deletion

File tree

keywords.md

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,11 @@ summary: Keywords and Reserved Words
77

88
This article introduces the keywords in TiDB, the differences between reserved words and non-reserved words and summarizes all keywords for the query.
99

10+
<<<<<<< HEAD
1011
Keywords are words that have special meanings in SQL statements, such as `SELECT`, `UPDATE`, and `DELETE`. Some of them can be used as identifiers directly, which are called **non-reserved keywords**. Some of them require special treatment before being used as identifiers, which are called **reserved keywords**. However, there are special non-reserved keywords that might still require special treatment. It is recommended that you treat them as reserved keywords.
12+
=======
13+
Keywords are words that have special meanings in SQL statements, such as [`SELECT`](/sql-statements/sql-statement-select.md), [`UPDATE`](/sql-statements/sql-statement-update.md), and [`DELETE`](/sql-statements/sql-statement-delete.md). Some of them can be used as identifiers directly, which are called **non-reserved keywords**. Some of them require special treatment before being used as identifiers, which are called **reserved keywords**.
14+
>>>>>>> 3dc620c9c9 (delete description about special non-reserved keywords that might still require special treatment (#21116))
1115
1216
To use the reserved keywords as identifiers, you must enclose them in backticks `` ` ``:
1317

@@ -59,7 +63,7 @@ Starting from v7.5.3, TiDB provides a full list of keywords in the [`INFORMATION
5963

6064
## Keyword list
6165

62-
The following list shows the keywords in TiDB. Reserved keywords are marked with `(R)`. Reserved keywords for [Window Functions](/functions-and-operators/window-functions.md) are marked with `(R-Window)`. Special non-reserved keywords that need to be escaped with backticks `` ` `` are marked with `(S)`.
66+
The following list shows the keywords in TiDB. Reserved keywords are marked with `(R)`. Reserved keywords for [Window Functions](/functions-and-operators/window-functions.md) are marked with `(R-Window)`.
6367

6468
<TabsPanel letters="ABCDEFGHIJKLMNOPQRSTUVWXYZ" />
6569

0 commit comments

Comments
 (0)