0% found this document useful (0 votes)
25 views9 pages

Practical 3 Slides

The document explains the SQL commands OFFSET and FETCH NEXT, which are used to paginate results by skipping a specified number of rows and retrieving the next set of rows. It also mentions sorting records in the Customers table by CustomerID in ascending order. Additionally, there is a reference to learn more about SQL Joins.

Uploaded by

mk365org
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
25 views9 pages

Practical 3 Slides

The document explains the SQL commands OFFSET and FETCH NEXT, which are used to paginate results by skipping a specified number of rows and retrieving the next set of rows. It also mentions sorting records in the Customers table by CustomerID in ascending order. Additionally, there is a reference to learn more about SQL Joins.

Uploaded by

mk365org
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 9

Information Systems 3A

ILS03A1 Practical 3

2025-03-10
Explanation of OFFSET and FETCH NEXT
ORDER BY CustomerID
• This sorts the records in the Customers table based on the
CustomerID in ascending order.

OFFSET 5 ROWS
• This skips the first 5 rows from the result set.

FETCH NEXT 5 ROWS ONLY


• After skipping 5 rows, this retrieves the next 5 rows.
Click the link to learn
more about JOINS

SQL Joins

You might also like