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
3657
April 10, 2006 10:28AM
1945
April 10, 2006 10:37AM
1892
April 10, 2006 11:38AM
1989
April 10, 2006 12:50PM
2030
April 10, 2006 03:11PM
Re: LEFT JOIN Issue in 5.0
1839
April 10, 2006 03:24PM
1830
April 11, 2006 07:34AM
1929
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.