Skip to content

SKIP

SELECT *
FROM employees
ORDER BY employee_id
LIMIT 5 OFFSET 10;
Employee_IdFirst_NameLast_NameDate_Of_BirthDepartment
11JohnDoe1985-02-15HR
12MaryJohnson1987-04-25Finance
13JamesBrown1990-05-30Marketing
14LindaDavis1989-02-15IT
15RobertMiller1988-08-08sales

In the given example, the OFFSET keyword is used to skip the first 10 records in the employees table. The LIMIT keyword then selects the next 5 records. The ORDER BY clause orders the records by employee_id. So, this SQL query returns records from 11 to 15.