MySQL Forums
Forum List  »  Optimizer & Parser

Re: Problem with LEF OUTER JOIN
Posted by: KimSeong Loh
Date: March 21, 2006 06:35PM

My guess your problem is that with V.UserID=1 it does not return the non-matching rows.

Simple reason, for all the non-matching row, the value of V.UserID is NULL, so it does not match your Where condition causing them to be dscarded.

Options: ReplyQuote


Subject
Views
Written By
Posted
3307
March 19, 2006 04:01PM
1882
March 19, 2006 05:48PM
2507
March 20, 2006 04:04AM
2280
March 20, 2006 10:31AM
2049
March 20, 2006 03:02PM
1904
March 20, 2006 03:34PM
Re: Problem with LEF OUTER JOIN
1976
March 21, 2006 06:35PM
1964
March 22, 2006 05:10PM
2031
March 22, 2006 07:06PM
2139
March 24, 2006 02:01PM
2216
March 26, 2006 08:05PM
2179
March 26, 2006 11:40PM


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.