MySQL Forums
Forum List  »  Optimizer & Parser

Re: LEFT JOIN Issue in 5.0
Posted by: Roman Kolcun
Date: April 10, 2006 03:24PM

What about using INNER JOIN?

SELECT testjoin1.id, testjoin1.sid, testjoin2.*, testjoin3.* FROM testjoin1 INNER JOIN testjoin3 ON testjoin1.sid=testjoin3.sid LEFT JOIN testjoin2 ON testjoin1.id=testjoin2.id;

Options: ReplyQuote


Subject
Views
Written By
Posted
3666
April 10, 2006 10:28AM
1954
April 10, 2006 10:37AM
1900
April 10, 2006 11:38AM
1994
April 10, 2006 12:50PM
2033
April 10, 2006 03:11PM
Re: LEFT JOIN Issue in 5.0
1849
April 10, 2006 03:24PM
1835
April 11, 2006 07:34AM
1932
April 11, 2006 07:34AM


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.