In PostgreSQL there is the Limit and Offset keywords which will allow very easy pagination of result sets.
Limit
Offset
What is the equivalent syntax f
-- @RowsPerPage can be a fixed number and @PageNumber number can be passed DECLARE @RowsPerPage INT = 10, @PageNumber INT = 2 SELECT * FROM MemberEmployeeData ORDER BY EmployeeNumber OFFSET @PageNumber*@RowsPerPage ROWS FETCH NEXT 10 ROWS ONLY