Y
Hacker News
new
|
ask
|
show
|
jobs
by
mdcurran
818 days ago
This doesn’t totally solve the issue of SELECT’ing first then filtering, but for complex queries I’ve found CTEs very useful (whenever the database/SQL dialect supports it).
1 comments
icedchai
818 days ago
What I usually do is start with "select *", get the joins and where clause down, then refine the select.
link