Skip to content

Commit f19148b

Browse files
docs: updated the supported execution mode of limit clause (#2145)
1 parent e1fb13c commit f19148b

File tree

1 file changed

+5
-6
lines changed

1 file changed

+5
-6
lines changed

docs/zh/reference/sql/dql/LIMIT_CLAUSE.md

Lines changed: 5 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
# Limit Clause
22

3-
Limit 子句用于限制结果条数。OpenMLDB 目前仅支持Limit 接受一个参数,表示返回数据的最大行数
3+
Limit子句用于限制返回的结果条数。目前Limit仅支持接受一个参数,表示返回数据的最大行数
44

55
## Syntax
66

@@ -17,16 +17,15 @@ SELECT ... LIMIT ...
1717

1818
## 边界说明
1919

20-
| SELECT语句元素 | 边界 | 说明 |
21-
| :------------- | -------------------- | :----------------------------------------------------------- |
22-
| LIMIT Clause | 不支持Online Serving | Limit 子句用于限制结果条数。OpenMLDB 目前仅支持Limit 接受一个参数,表示返回数据的最大行数 |
20+
| SELECT语句元素 | 边界 | 说明 |
21+
| :------------- |--| :----------------------------------------------------------- |
22+
| LIMIT Clause | 单机版和集群版的所有执行模式均支持 | Limit 子句用于限制返回的结果条数。目前Limit仅支持接受一个参数,表示返回数据的最大行数 |
2323

2424
## Example
2525

2626
### SELECT with LIMIT
2727

2828
```SQL
29-
-- desc: SELECT Limit
30-
SELECT t1.COL1 c1 FROM t1 limit 10;
29+
SELECT t1.COL1 c1 FROM t1 limit 10;
3130
```
3231

0 commit comments

Comments
 (0)