MySQL Forums
Forum List  »  Newbie

help with select command
Posted by: elad loroze
Date: November 19, 2012 05:30PM

hi,
I have 2 tables, one is table of feeds and the second is table of users.
In the feeds table there's column of author user ID (the user who made the feed),
and in the users tables there's column of user ID.

Now in my code i have a list of users id,
what is the best way to SELECT only the feeds that their author user id is one of the id's that in the list.

Thanks alot!

Options: ReplyQuote


Subject
Written By
Posted
help with select command
November 19, 2012 05:30PM
November 25, 2012 03:12PM


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.