SQL codes for when things go wrong | Hacker News Reader