The SQL filter clause: selective aggregates | Hacker News Reader