docs-v2/content/influxdb3/cloud-serverless/reference/influxql/offset-and-soffset.md

24 lines
808 B
Markdown

---
title: OFFSET and SOFFSET clauses
description: >
Use `OFFSET` to specify the number of [rows](/influxdb3/cloud-serverless/reference/glossary/#series)
to skip in each InfluxQL group before returning results.
Use `SOFFSET` to specify the number of [series](/influxdb3/cloud-serverless/reference/glossary/#series)
to skip before returning results.
menu:
influxdb3_cloud_serverless:
name: OFFSET and SOFFSET clauses
parent: influxql-reference
weight: 207
list_code_example: |
```sql
SELECT_clause FROM_clause [WHERE_clause] [GROUP_BY_clause] [ORDER_BY_clause] [LIMIT_clause] OFFSET row_N [SLIMIT_clause] SOFFSET series_N
```
source: /shared/influxql-v3-reference/offset-and-soffset.md
---
<!--
The content of this page is at /shared/influxql-v3-reference/offset-and-soffset.md
-->