Query optimization doesn't work because SQL is declarative | Hacker News Reader