Comment
Comment by fbonetti
It's really easy to paginate data with SQL - just use LIMIT and OFFSET.
For example, let's say you have a table with 1000 products in it, and you want to display page 3 with a page size of 50. Here's how you would write it: