Comment by snuxoll
7 hours ago
WHERE clauses are pushed down into the query planner before the SELECT list is processed, that’s why HAVING exists.
The logical order, in full, is:
FROM
WHERE/JOIN (you can join using WHERE clauses and do FROM a,b still)
SELECT
HAVING
No comments yet
Contribute on Hacker News ↗