MySQL Forums
Forum List  »  Newbie

Simple Join Table Scan Question
Posted by: Bo Renderey
Date: March 11, 2010 05:03PM

Hi everyone,

I had a quick question. If I do a query like so:

SELECT *
FROM
a
LEFT JOIN
b
ON
a.field = 1 AND a.id = b.a_id

If a.field is not 1, is there even a table scan for table b?

Options: ReplyQuote


Subject
Written By
Posted
Simple Join Table Scan Question
March 11, 2010 05:03PM


Sorry, you can't reply to this topic. It has been closed.

Content reproduced on this site is the property of the respective copyright holders. It is not reviewed in advance by Oracle and does not necessarily represent the opinion of Oracle or any other party.