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
3743
April 10, 2006 10:28AM
1994
April 10, 2006 10:37AM
1933
April 10, 2006 11:38AM
2037
April 10, 2006 12:50PM
2062
April 10, 2006 03:11PM
Re: LEFT JOIN Issue in 5.0
1877
April 10, 2006 03:24PM
1871
April 11, 2006 07:34AM
1960
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.