Progressively improving a sql query | Hacker News Reader