MySQL Forums
Forum List  »  Newbie

Re: SQL Query n:m
Posted by: Andreas Nanko
Date: April 12, 2005 02:56PM

Ok i found a way,

SELECT a.car FROM test a, test b, test c WHERE a.car=b.car AND a.car=c.car AND a.feature="a" AND b.feature="c" AND c.feature="d"

but is this the best way to do this?

Any suggestions ?

Options: ReplyQuote


Subject
Written By
Posted
April 12, 2005 01:17PM
Re: SQL Query n:m
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.