MySQL Forums
Forum List  »  Newbie

Re: Join tables query
Posted by: Jay Pipes
Date: July 06, 2005 02:00PM

SELECT news.* FROM news
CROSS JOIN news_sports lookup
INNER JOIN news_sports rest
ON lookup.id_sports = rest.id_sports
AND rest.id_news = news.id_news
WHERE lookup.id_news = 1;

Jay Pipes
Community Relations Manager, North America, MySQL Inc.

Got Cluster? http://www.mysql.com/cluster
Personal: http://jpipes.com

Options: ReplyQuote


Subject
Written By
Posted
July 06, 2005 11:23AM
July 06, 2005 12:40PM
July 06, 2005 01:17PM
July 06, 2005 01:28PM
July 06, 2005 01:50PM
Re: Join tables query
July 06, 2005 02:00PM
July 06, 2005 02:08PM


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.