How to generate a series of numbers in SQL | Hacker News Reader