OFFSET Clause

By default, a SQL query retrieves every row in your dataset. Use the optional WHERE clause to restrict your query results to a conditional expression.

OFFSET takes the syntax OFFSET {{start}}. Start refers to the number of rows to skip before returning rows.

This example skips over rows 1-5. It returns the three subsequent rows, 6-8.

1SELECT City
2FROM "Superstore"
3ORDER BY City
4OFFSET 5
5LIMIT 3;
City
Aberdeen
Abilene
Abilene