On Friday, January 30, 2015 at 12:58:53 PM UTC+1, malthe wrote:
>
>     -- Query 1:
>     SELECT * FROM foo JOIN (bar JOIN boo ON bar.id = boo.id) ON foo.id = 
> boo.id;
>  
>     -- Query 2:
>     SELECT * FROM foo JOIN boo ON foo.id = boo.id JOIN bar ON bar.id = boo.id;
>
>
Just for the record, on PostgreSQL these are executed exactly the same 
given that the total number of joins is less than "join_collapse_limit". 
But there is a difference if the threshold is exceeded.

-- 
You received this message because you are subscribed to the Google Groups 
"sqlalchemy" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to sqlalchemy+unsubscr...@googlegroups.com.
To post to this group, send email to sqlalchemy@googlegroups.com.
Visit this group at http://groups.google.com/group/sqlalchemy.
For more options, visit https://groups.google.com/d/optout.

Reply via email to