MySQL Forums
Forum List  »  Newbie

Query whith self join?
Posted by: Denis Casanuova
Date: April 03, 2014 03:04AM

I have got USER table and OPTION table related many to many

USER
id_user
user_name

OPTION
id_option
option_name

USER_TO_OPTION
id_option
id_user

I need user in id (1,2,3) and that their option is 4 and also 5 (both option).

Thanks

Options: ReplyQuote


Subject
Written By
Posted
Query whith self join?
April 03, 2014 03:04AM
April 04, 2014 11:28PM
April 07, 2014 05:41AM


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.