Skip to content

Commit dc67108

Browse files
committed
AUTO: Sync ScalarDL docs in English to docs site repo
1 parent 60961a0 commit dc67108

File tree

2 files changed

+8
-5
lines changed

2 files changed

+8
-5
lines changed

docs/compatibility.mdx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ Versions are expressed as `x.y.z`, where `x` represents the major version, `y` r
2222
| 3.12 | 3.9 - 3.12 |
2323
| 3.11 | 3.9 - 3.11 |
2424
| 3.10 | 3.9 - 3.10 |
25-
| 3.9 | 3.9 - 3.9 |
25+
| 3.9 | 3.9 |
2626

2727
:::note
2828

docs/sql-grammar.mdx

Lines changed: 7 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -187,7 +187,7 @@ operator: = | <> | != | > | >= | < | <=
187187
If you have the following table, for example:
188188

189189
```sql
190-
CREATE TABLE ns.tbl (
190+
CREATE TABLE tbl (
191191
c1 INT PRIMARY KEY,
192192
c2 STRING,
193193
c3 FLOAT,
@@ -210,6 +210,8 @@ UPDATE tbl SET c4 = 200, c5 = false WHERE c1 = 10 AND c5 = true;
210210

211211
## Others
212212

213+
This section covers additional commands and functions that extend beyond the standard DDL and DML categories.
214+
213215
### Show tables
214216

215217
You can show tables managed by TableStore by querying the `information_schema.tables` table.
@@ -219,7 +221,7 @@ You can show tables managed by TableStore by querying the `information_schema.ta
219221
```sql
220222
SELECT *
221223
FROM information_schema.tables
222-
[WHERE table_name = <table name>]
224+
[WHERE table_name = <table name>]
223225
```
224226

225227
#### Examples
@@ -269,7 +271,7 @@ SELECT history() FROM tbl WHERE c1 = 10 LIMIT 10;
269271

270272
## Literal
271273

272-
Literal refers to a fixed data value used when writing SQL-like statements. For example, `1`, `'abc'`, `1.23`, and `true` are literals.
274+
Literal refers to a fixed data value used when writing SQL statements. For example, `1`, `'abc'`, `1.23`, and `true` are literals.
273275

274276
### String
275277

@@ -278,8 +280,9 @@ A string literal is a sequence of characters enclosed in single quotes `'`, such
278280
### Number
279281

280282
Number literals include exact-value (`INTEGER` and `BIGINT`) and approximate-value (`FLOAT` and `DOUBLE PRECISION`) literals:
283+
281284
- An exact-value literal is a sequence of digits, such as `123` and `-5`.
282-
- An approximate-value literal is a sequence of digits with a decimal point, such as `4.754` and `-1.2`.
285+
- An approximate-value literal is a sequence of digits with a decimal point, such as `4.754` and `-1.2`.
283286

284287
### Boolean
285288

0 commit comments

Comments
 (0)