未验证 提交 f7513eed 编写于 作者: A alexey-milovidov 提交者: GitHub

Merge pull request #4814 from ogorbacheva/DOCAPI-5971-limit-offset

Doc fix: add info about syntax `LIMIT OFFSET` (en, ru)
......@@ -761,11 +761,12 @@ DISTINCT is not supported if SELECT has at least one array column.
### LIMIT Clause
`LIMIT m` allows you to select the first `m` rows from the result.
`LIMIT n`, m allows you to select the first `m` rows from the result after skipping the first `n` rows.
`LIMIT n, m` allows you to select the first `m` rows from the result after skipping the first `n` rows. The `LIMIT m OFFSET n` syntax is also supported.
`n` and `m` must be non-negative integers.
If there isn't an ORDER BY clause that explicitly sorts results, the result may be arbitrary and nondeterministic.
If there isn't an `ORDER BY` clause that explicitly sorts results, the result may be arbitrary and nondeterministic.
### UNION ALL Clause
......
......@@ -714,12 +714,13 @@ WHERE и HAVING отличаются тем, что WHERE выполняется
### Секция LIMIT
LIMIT m позволяет выбрать из результата первые m строк.
LIMIT n, m позволяет выбрать из результата первые m строк после пропуска первых n строк.
`LIMIT m` позволяет выбрать из результата первые `m` строк.
n и m должны быть неотрицательными целыми числами.
`LIMIT n, m` позволяет выбрать из результата первые `m` строк после пропуска первых `n` строк. Синтаксис `LIMIT m OFFSET n` также поддерживается.
При отсутствии секции ORDER BY, однозначно сортирующей результат, результат может быть произвольным и может являться недетерминированным.
`n` и `m` должны быть неотрицательными целыми числами.
При отсутствии секции `ORDER BY`, однозначно сортирующей результат, результат может быть произвольным и может являться недетерминированным.
### Секция UNION ALL
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册