MySQL Forums
Forum List  »  Newbie

Re: JOIN, and LEFT OUTER JOIN: I don't get it
Posted by: Rick James
Date: March 13, 2011 01:57PM

> Any conditions on the right hand table belong in the ON clause and not the WHERE clause.
Except when you are trying to get only the missing rows:
WHERE right_table.id IS NULL

Options: ReplyQuote


Subject
Written By
Posted
Re: JOIN, and LEFT OUTER JOIN: I don't get it
March 13, 2011 01:57PM


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.