
February 23rd, 2013, 05:56 PM
|
|
|
Then I won't do it
Quote: | you start with that table, and the WHERE clause applies the filter, thus only one row is returned, and from that point on, only matching rows are joined | I do not know the internal workings of MySQL or any other SQL engine, but maybe I should try to educate myself. Are you saying that the source code first figures out which table to deal with first (I understand that just cause I put table1 first in the query doesn't guarantee it will be run first, but go with me..), then filters the table based on the WHERE, then JOINs the next table, and filters again based on the WHERE, etc, etc?
|