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
3665
April 10, 2006 10:28AM
1952
April 10, 2006 10:37AM
1899
April 10, 2006 11:38AM
1993
April 10, 2006 12:50PM
2032
April 10, 2006 03:11PM
Re: LEFT JOIN Issue in 5.0
1848
April 10, 2006 03:24PM
1834
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.