MySQL Forums
Forum List  »  Newbie

SQL Query n:m
Posted by: Andreas Nanko
Date: April 12, 2005 01:17PM

Hello,

i've a few problems to understand how to make a query for my prob :)
Perhaps someone could give me a helping hand.

For example:

car feature
1 a
1 b
1 c
1 d
2 a
2 b
3 a
3 c
3 d

How can i get all car's with the feature a _and_ c _and_ d,
so the result should be

car 1 and 3 has the feature a,c and d.

Kind regards,
Andreas

Options: ReplyQuote


Subject
Written By
Posted
SQL Query n:m
April 12, 2005 01:17PM
April 12, 2005 02:56PM
April 12, 2005 04:52PM


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.