diff --git a/functions-and-operators/tidb-functions.md b/functions-and-operators/tidb-functions.md index f3de2e9230dd2..8e7d617b6f519 100644 --- a/functions-and-operators/tidb-functions.md +++ b/functions-and-operators/tidb-functions.md @@ -67,7 +67,7 @@ TIDB_DECODE_KEY(START_KEY): {"_tidb_rowid":1958897,"table_id":"59"} In the following example, the table `t2` has a compound clustered primary key. From the JSON output, you can see a `handle` that contains the name and value for both of the columns that are part of the primary key. ```sql -show create table t2\G +SHOW CREATE TABLE t2\G ``` ```sql @@ -109,7 +109,7 @@ REPLICATIONSTATUS_STATEID: NULL ``` ```sql -select tidb_decode_key('7480000000000000FF3E5F720400000000FF0000000601633430FF3338646232FF2D64FF3531632D3131FF65FF622D386337352DFFFF3830653635303138FFFF61396265000000FF00FB000000000000F9'); +SELECT tidb_decode_key('7480000000000000FF3E5F720400000000FF0000000601633430FF3338646232FF2D64FF3531632D3131FF65FF622D386337352DFFFF3830653635303138FFFF61396265000000FF00FB000000000000F9'); ``` ```sql