MySQL Forums
Forum List  »  InnoDB

Many-to-many with left outer join
Posted by: Dmitriy Reznik
Date: April 30, 2010 06:17AM

Dear experts,

I have table a (a_id, description), b(b_id, description), and x(a_id, b_id, description). x is a cross reference table providing many-to-many relationship between a and b.

Could you please help me make a select statement that would get all data from a and b (if there are records corresponding to selected a). I am not sure how to use left outer join with many-to-many relationship.
Thanks.

Options: ReplyQuote


Subject
Views
Written By
Posted
Many-to-many with left outer join
11037
April 30, 2010 06:17AM


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.