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
The closest I could make is
select * FROM( SELECT *, ROW_NUMBER() over (ORDER BY ID ) as ct from [db].[dbo].[table] ) sub where ct > fromNumber and ct <= toNumber
Which I guess similar to select * from [db].[dbo].[table] LIMIT 0, 10
select * from [db].[dbo].[table] LIMIT 0, 10