OFFSET¶
The OFFSET
clause skips a specified number of rows before returning the result set.
Syntax¶
SELECT <column_name>
FROM <table_name>
OFFSET <number_of_rows>
Arguments¶
Parameter |
Description |
---|---|
|
The columns to retrieve |
|
The table from which to retrieve the data |
|
The number of rows to skip before starting to return rows |
Examples¶
SELECT
employee_id,
employee_name
FROM
employees
ORDER BY
employee_id
LIMIT
10 OFFSET 20;