Proper pagination in SQL | Hacker News Reader