Best practices for writing SQL queries | Hacker News Reader